Fix !megakick broken after the slixmpp switch
This commit is contained in:
parent
bea576efb3
commit
91e05364f6
|
@ -165,7 +165,7 @@ class Hptoad:
|
|||
if is_admin and victim != self.bot_nick:
|
||||
if is_bot_admin and not is_victim_admin and \
|
||||
victim in self.muc_obj.rooms[self.muc]:
|
||||
self.muc_obj.setRole(self.muc, victim, "none")
|
||||
self.muc_obj.set_role(self.muc, victim, "none")
|
||||
else:
|
||||
reply = "%s: Can't megakick %s." % (nick, victim)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue