Made a better check for cleaning module names, should resolve Issue 319.

This commit is contained in:
Griatch 2012-10-28 14:38:17 +01:00
parent 52af816977
commit 20d6de5104
2 changed files with 4 additions and 3 deletions

View file

@ -281,7 +281,8 @@ class CmdGet(MuxCommand):
if caller == obj:
caller.msg("You can't get yourself.")
return
if obj.location == caller:
print obj, obj.location, caller, caller==obj.location
if caller == obj.location:
caller.msg("You already hold that.")
return
if not obj.access(caller, 'get'):