diff options
| author | 2017-12-26 10:32:36 +0000 | |
|---|---|---|
| committer | 2017-12-26 10:32:36 +0000 | |
| commit | 0cc72d5d66bc3a6abf7757c7202905bd656ddf1d (patch) | |
| tree | a2591a46c4e25f359b7ed6990f31d91be22d4d1d /modules/karma.py | |
| parent | NR: Indicate interesting activity at locations (diff) | |
| signature | ||
Added a "replay" system to EventManager hooks, to replay missed .calls
Diffstat (limited to 'modules/karma.py')
| -rw-r--r-- | modules/karma.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/karma.py b/modules/karma.py index 7526812f..800f1bcc 100644 --- a/modules/karma.py +++ b/modules/karma.py @@ -13,10 +13,8 @@ class Module(object): bot.events.on("received").on("command").on("karma").hook( self.karma, help="Get your or someone else's karma", usage="[target]") - bot.events.on("boot").on("done").hook(self.boot_done) - def boot_done(self, event): - self.bot.events.on("postboot").on("configure").on( + bot.events.on("postboot").on("configure").on( "channelset").call(setting="karma-verbose", help="Disable/Enable automatically responding to karma changes", validate=Utils.bool_or_none) |
