aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-08 07:36:17 +0100
committerGravatar jesopo2019-05-08 07:36:17 +0100
commitcb25f70418a41b12e227eca709635b55a03019e8 (patch)
treec9a2ccf0ad150ecab0d8f77f7fd925b4d1ca9b4b /modules
parentLog URL when we fail to get a <title> (diff)
signature
Catch UserNotFoundException in var `e`
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)