Fix permission bug
This commit is contained in:
parent
1d3f05a8fe
commit
36f0672f2b
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ class Module(object):
|
|||
return
|
||||
|
||||
if not permission in permissions:
|
||||
event["stderr"].write("%s already has permission '%s'" % (
|
||||
event["stderr"].write("%s doesn't have permission '%s'" % (
|
||||
target.nickname, permission))
|
||||
else:
|
||||
permissions.remove(permission)
|
||||
|
|
Loading…
Reference in a new issue