aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/channel_op.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py
index 513040fa..9f9fab90 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -38,7 +38,7 @@ class Module(ModuleManager.BaseModule):
try:
self._kick(event["server"], channel, target, reason)
- except UserNotFoundException:
+ except UserNotFoundException as e:
event["stderr"].write(str(e))
@utils.hook("received.command.kick", private_only=True, min_args=2)