diff options
| author | 2019-09-26 12:14:55 +0100 | |
|---|---|---|
| committer | 2019-09-26 12:14:55 +0100 | |
| commit | 2e80b223de84d93716baae2ba0ea1a0ec7070686 (patch) | |
| tree | 711b48e0877707322f504d73e72220acee62a34d /modules/silence.py | |
| parent | !echo should have a min_args kwarg (diff) | |
| signature | ||
allow all preprocess.command and check.command failures to have a message
Diffstat (limited to 'modules/silence.py')
| -rw-r--r-- | modules/silence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/silence.py b/modules/silence.py index f4f6b32a..d1750814 100644 --- a/modules/silence.py +++ b/modules/silence.py @@ -57,7 +57,7 @@ class Module(ModuleManager.BaseModule): silence_until = event["target"].get_setting("silence-until", None) if silence_until: if self._is_silenced(event["target"]): - return utils.consts.PERMISSION_HARD_FAIL + return utils.consts.PERMISSION_HARD_FAIL, None @utils.hook("unknown.command") @utils.kwarg("priority", EventManager.PRIORITY_HIGH) |
