Fix permission bug

This commit is contained in:
dngfx 2018-09-23 11:09:46 +01:00
parent 36f0672f2b
commit c3c3eba476

View file

@ -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: