Added more session info to ooclook. Working on a bug that causes superuser to not be recognized now and then - this seems to be related to character.player returning None. This revision contains some printout debug messages since that bug is not yet fixed.
This commit is contained in:
parent
406800f254
commit
29e313492f
6 changed files with 53 additions and 27 deletions
|
|
@ -390,9 +390,7 @@ class PlayerDB(TypedObject):
|
|||
pass
|
||||
outgoing_string = utils.to_str(outgoing_string, force_string=True)
|
||||
|
||||
session = None
|
||||
if sessid:
|
||||
session = _GA(self, "get_session")(sessid)
|
||||
session = sessid and _GA(self, "get_session")(sessid) or None
|
||||
if session:
|
||||
char = _GA(self, "get_character")(sessid=sessid)
|
||||
if char and not char.at_msg_receive(outgoing_string, from_obj=from_obj, data=data):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue