aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-30 21:07:03 +0000
committerGravatar jesopo2019-01-30 21:07:03 +0000
commit520d8b681fe2f99fe2dfc567a583a26bf44d3172 (patch)
treed18697dc21a6db107027ceb966ee97df749edd00 /modules
parentAdd private message `unban` command (channel_op.py) (diff)
signature
Actually add private_unban function def. oops. (channel_op.py)
Diffstat (limited to 'modules')
-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 b1d29bfd..e4b33112 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -168,6 +168,7 @@ class Module(ModuleManager.BaseModule):
event["stderr"].write(str(e))
@utils.hook("received.command.unban", private_only=True, min_args=2)
+ def private_unban(self, event):
"""
:help: Unban a user/hostmask from the current channel
:usage: <channel> <nickname/hostmask>