Commit 2031f09e authored by Mindiell's avatar Mindiell

Fixed changed_mode reaction.

parent ab2990f8
Pipeline #37 skipped
......@@ -200,7 +200,7 @@ class Wantzel(object):
def mode_changed(self, user, channel, flag_set, modes, args):
Utils.debug("Mode changed : %s %s %s %s %s" % (user, channel, flag_set, modes, args))
if "o" in modes:
if "o" in modes and self.irc.client.nickname in args:
# Cleaning user name
user = re.search("([^!]*)!", user).group(1)
if flag_set:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment