diff options
| author | 2018-08-31 10:51:47 +0100 | |
|---|---|---|
| committer | 2018-08-31 10:51:47 +0100 | |
| commit | 90ce92dc39395444862edfc7946ef7a1195f2464 (patch) | |
| tree | 6832c146a15879df292d265083bfe5795cbdfa69 /modules/auto_mode.py | |
| parent | Reformat (diff) | |
Revert "Reformat"
This reverts commit abed9cf
Diffstat (limited to 'modules/auto_mode.py')
| -rw-r--r-- | modules/auto_mode.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/auto_mode.py b/modules/auto_mode.py index 37875bf2..2c33f260 100644 --- a/modules/auto_mode.py +++ b/modules/auto_mode.py @@ -1,14 +1,13 @@ 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) |
