diff options
| author | 2019-05-08 07:36:17 +0100 | |
|---|---|---|
| committer | 2019-05-08 07:36:17 +0100 | |
| commit | cb25f70418a41b12e227eca709635b55a03019e8 (patch) | |
| tree | c9a2ccf0ad150ecab0d8f77f7fd925b4d1ca9b4b /modules | |
| parent | Log 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.py | 2 |
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) |
