Fixed an issue with channel-sending crashing when ooc. Resolves Issue 429.

This commit is contained in:
Griatch 2013-09-27 21:31:47 +02:00
parent 39b69dcdc2
commit 96c6ad4aff
2 changed files with 3 additions and 3 deletions

View file

@ -527,7 +527,7 @@ class CmdPerm(MuxCommand):
tstring = ""
if 'del' in switches:
# delete the given permission(s) from object.
obj.permission.remove(self.rhslist)
obj.permissions.remove(self.rhslist)
cstring += "\nPermission(s) %s removed from %s (if they existed)." % (", ".join(self.rhslist), obj.name)
tstring += "\n%s revokes the permission(s) %s from you." % (caller.name, ", ".join(self.rhslist))
else: