From 36f0672f2b9fb4feb84ec7d25b52f39f37a334f8 Mon Sep 17 00:00:00 2001 From: dngfx <294904+dngfx@users.noreply.github.com> Date: Sun, 23 Sep 2018 11:06:15 +0100 Subject: [PATCH] Fix permission bug --- modules/permissions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/permissions.py b/modules/permissions.py index 9a7c266e..fe6a8977 100644 --- a/modules/permissions.py +++ b/modules/permissions.py @@ -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)