aboutsummaryrefslogtreecommitdiff
path: root/modules/check_mode.py
diff options
context:
space:
mode:
authorGravatar dngfx2018-08-31 10:50:37 +0100
committerGravatar dngfx2018-08-31 10:50:37 +0100
commitabed9cf4ea71dcbad2dd2c049683b8d14b942e09 (patch)
tree3e40caf63fa7e1500469f4ad9a0c45c51808aad4 /modules/check_mode.py
parentFix a copy paste fail in IRCLineHandler that caused PARTs to be handled as QUITs (diff)
signature
Reformat
Diffstat (limited to 'modules/check_mode.py')
-rw-r--r--modules/check_mode.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/check_mode.py b/modules/check_mode.py
index a7a8e788..a063f4a0 100644
--- a/modules/check_mode.py
+++ b/modules/check_mode.py
@@ -1,5 +1,3 @@
-
-
class Module(object):
def __init__(self, bot):
self.bot = bot
@@ -11,5 +9,5 @@ class Module(object):
"require_mode"):
required_mode = event["hook"].kwargs.get("require_mode")[0]
if not event["target"].mode_or_above(event["user"],
- required_mode):
+ required_mode):
return "You do not have permission to do this"