aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/channel_op.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py
index 712009dd..e3d00d8e 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -45,6 +45,8 @@ class Module(object):
if event["server"].has_user(event["args_split"][0]):
self.ban(event)
self.kick(event)
+ else:
+ event["stderr"].write("That user is not in this channel")
def op(self, event):
event["target"].send_mode("+o", event["args_split"][0])