We now access the scriptlink by calling object.scriptlink instead of get_scriptlink. Shortens the typage a little and allows for some less complex fun possibilities down the road.
This commit is contained in:
parent
e6e5a889f5
commit
51a911d048
4 changed files with 16 additions and 13 deletions
|
|
@ -142,8 +142,8 @@ class SessionProtocol(StatefulTelnetProtocol):
|
|||
pobject = self.get_pobject()
|
||||
session_mgr.disconnect_duplicate_session(self)
|
||||
|
||||
pobject.get_scriptlink().at_pre_login()
|
||||
pobject.get_scriptlink().at_post_login()
|
||||
pobject.scriptlink.at_pre_login()
|
||||
pobject.scriptlink.at_post_login()
|
||||
|
||||
logger.log_infomsg("Login: %s" % (self,))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue