diff options
| author | 2019-01-25 23:53:53 +0000 | |
|---|---|---|
| committer | 2019-01-25 23:53:53 +0000 | |
| commit | eb3f4db828f6418b66b2fdc3f829f06d99d851b5 (patch) | |
| tree | 7ebb7f7b48f9311b92c5eda329d5193cc57701b4 | |
| parent | Strip "," and ":" from karma targets (karma.py) (diff) | |
| signature | ||
Don't put channel messages as low priority, so we can still catch "bitbot: ++"
(karma.py)
| -rw-r--r-- | modules/karma.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/karma.py b/modules/karma.py index f9817038..fbdcdacb 100644 --- a/modules/karma.py +++ b/modules/karma.py @@ -25,8 +25,7 @@ class Module(ModuleManager.BaseModule): def new_user(self, event): event["user"].last_karma = None - @utils.hook("received.message.channel", - priority=EventManager.PRIORITY_MONITOR) + @utils.hook("received.message.channel") def channel_message(self, event): match = re.match(REGEX_KARMA, event["message"].strip()) if match and not event["action"]: |
