Commit 2886d10e authored by mathieui's avatar mathieui

Fix a traceback in the kick/ban handler

parent e4356dc2
......@@ -1192,13 +1192,13 @@ class MucTab(ChatTab):
elif ban:
self.core.events.trigger('muc_ban', presence, self)
self.core.on_user_left_private_conversation(from_room,
from_nick, status)
user, status)
self.on_user_banned(presence, user, from_nick)
# kick
elif kick:
self.core.events.trigger('muc_kick', presence, self)
self.core.on_user_left_private_conversation(from_room,
from_nick, status)
user, status)
self.on_user_kicked(presence, user, from_nick)
elif shutdown:
self.core.events.trigger('muc_shutdown', presence, self)
......
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