mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 02:06:32 +01:00
Fix for issue 29, duplicate session removal no longer results in the loss of the CONNECTED flag.
This commit is contained in:
parent
8991d4ecac
commit
6015aca8db
1 changed files with 1 additions and 1 deletions
|
|
@ -146,9 +146,9 @@ class SessionProtocol(StatefulTelnetProtocol):
|
|||
self.logged_in = True
|
||||
self.conn_time = time.time()
|
||||
pobject = self.get_pobject()
|
||||
session_mgr.disconnect_duplicate_session(self)
|
||||
pobject.set_flag("CONNECTED", True)
|
||||
|
||||
session_mgr.disconnect_duplicate_session(self)
|
||||
self.msg("You are now logged in as %s." % (self.name,))
|
||||
pobject.get_location().emit_to_contents("%s has connected." % (pobject.get_name(),), exclude=pobject)
|
||||
self.execute_cmd("look")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue