Fixed a bug with creating Player from admin. It is hard to add permissions (these are Tags with a special subsetting). This makes the admin not very useful for creating players at the moment.

This commit is contained in:
Griatch 2014-06-30 00:53:30 +02:00
parent 39def4efa9
commit 115587aa1b
2 changed files with 25 additions and 18 deletions

View file

@ -262,7 +262,6 @@ def at_multimatch_cmd(caller, matches):
id1 = ""
id2 = ""
print "cmd.obj:", cmd, cmd.obj
if (not (is_channel or is_exit) and
(hasattr(cmd, 'obj') and cmd.obj != caller) and
hasattr(cmd.obj, "key")):