added an error to the kickban command in channel_op.py for when a user is not present in a channel to be kickbanned.
This commit is contained in:
parent
f85ab987c4
commit
52deab53aa
1 changed files with 2 additions and 0 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue