aboutsummaryrefslogtreecommitdiff
path: root/modules/auto_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/auto_mode.py
parentFix a copy paste fail in IRCLineHandler that caused PARTs to be handled as QUITs (diff)
signature
Reformat
Diffstat (limited to 'modules/auto_mode.py')
-rw-r--r--modules/auto_mode.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/auto_mode.py b/modules/auto_mode.py
index 2c33f260..37875bf2 100644
--- a/modules/auto_mode.py
+++ b/modules/auto_mode.py
@@ -1,13 +1,14 @@
import Utils
+
class Module(object):
def __init__(self, bot):
self.bot = bot
bot.events.on("postboot").on("configure").on(
"channelset").assure_call(setting="automode",
- help="Disable/Enable automode",
- validate=Utils.bool_or_none)
+ help="Disable/Enable automode",
+ validate=Utils.bool_or_none)
bot.events.on("channel").on("mode").hook(self.on_mode)
bot.events.on("received").on("join").hook(self.on_join)