aboutsummaryrefslogtreecommitdiff
path: root/modules/auto_mode.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-28 14:55:08 +0100
committerGravatar jesopo2018-08-28 14:55:08 +0100
commitb699c120a0894e464d7b2ae972ce13adbfcc54b8 (patch)
tree3d93f3f1f841d641bc30994f69fd0261e4206b42 /modules/auto_mode.py
parentSwitch to time.monotonic for comparisons, only send data at most once every .5 (diff)
signature
Change how specific events assure their hooks gets the event independant of
loading order
Diffstat (limited to 'modules/auto_mode.py')
-rw-r--r--modules/auto_mode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auto_mode.py b/modules/auto_mode.py
index 4d0c3a0b..2c33f260 100644
--- a/modules/auto_mode.py
+++ b/modules/auto_mode.py
@@ -5,7 +5,7 @@ class Module(object):
self.bot = bot
bot.events.on("postboot").on("configure").on(
- "channelset").call(setting="automode",
+ "channelset").assure_call(setting="automode",
help="Disable/Enable automode",
validate=Utils.bool_or_none)