Changed cmdhandler to include Session-level cmdset.

This commit is contained in:
Griatch 2013-09-08 00:14:06 +02:00
parent 07b1e40299
commit 1e96b13920
11 changed files with 205 additions and 80 deletions

View file

@ -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):
"""