Changed cmdhandler to include Session-level cmdset.
This commit is contained in:
parent
07b1e40299
commit
1e96b13920
11 changed files with 205 additions and 80 deletions
|
|
@ -494,7 +494,7 @@ class PlayerDB(TypedObject, AbstractUser):
|
|||
# should not matter (since the return goes to all of them we can just
|
||||
# use the first one as the source)
|
||||
sessid = self.get_all_sessions()[0].sessid
|
||||
return cmdhandler.cmdhandler(self.typeclass, raw_string, sessid=sessid)
|
||||
return cmdhandler.cmdhandler(self.typeclass, raw_string, callertype="player", sessid=sessid)
|
||||
|
||||
def search(self, ostring, return_character=False, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue