aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-12 22:20:36 +0100
committerGravatar jesopo2019-09-12 22:20:36 +0100
commit5b538eb5b6f071f66cce2809500c0fea2082b64a (patch)
tree53e4d93ea10a9394caae6cf70ff2b3d5bc0dd4bb
parentset a bitbot-specific useragent for fediverse requests (diff)
signature
add !b as an alias of !ban
-rw-r--r--modules/channel_op.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py
index 4cef0f99..1a8d7ee1 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -90,6 +90,7 @@ class Module(ModuleManager.BaseModule):
channel.send_unban(event["hostmask"])
@utils.hook("received.command.ban")
+ @utils.hook("received.command.b", alias_of="ban")
@utils.kwarg("min_args", 1)
@utils.kwarg("require_mode", "o")
@utils.kwarg("require_access", "ban")