Fixed bug that made ooc look give an error. Resolves #921.

This commit is contained in:
Griatch 2016-04-11 23:14:49 +02:00
parent 039bb0c540
commit 86b6261b02

View file

@ -800,7 +800,9 @@ class DefaultPlayer(with_metaclass(TypeclassBase, PlayerDB)):
if target and not is_iter(target):
# single target - just show it
return target.return_appearance()
return target.return_appearance(self)
elif not target:
return "|rNo such character.|n"
else:
# list of targets - make list to disconnect from db
characters = list(target)