mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 21:17:17 +02:00
Fixed a lacking implementation in the Msg API. You need to re-sync the database since Msg now relies on three fields that where commented out before.
This commit is contained in:
parent
72bb8ac667
commit
d90c2909a2
6 changed files with 33 additions and 27 deletions
|
|
@ -140,9 +140,9 @@ class SessionProtocol(StatefulTelnetProtocol):
|
|||
character = ObjectDB.objects.get_object_with_user(self.uid)
|
||||
if not character:
|
||||
string = "No character match for session uid: %s" % self.uid
|
||||
logger.log_errmsg(string)
|
||||
return None
|
||||
return character[0]
|
||||
logger.log_errmsg(string)
|
||||
else:
|
||||
return character
|
||||
return None
|
||||
|
||||
def execute_cmd(self, raw_string):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue