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