Fix permission bug

This commit is contained in:
dngfx 2018-09-23 11:06:15 +01:00
parent 1d3f05a8fe
commit 36f0672f2b

View file

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