From 5b538eb5b6f071f66cce2809500c0fea2082b64a Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 12 Sep 2019 22:20:36 +0100 Subject: [PATCH] add !b as an alias of !ban --- modules/channel_op.py | 1 + 1 file changed, 1 insertion(+) 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")