diff options
author | mathieui <mathieui@mathieui.net> | 2016-09-13 19:40:29 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-09-13 19:40:29 +0200 |
commit | 2886d10ea97bab789b0679b5a622a18fcb28f123 (patch) | |
tree | d66d00c7d8245dc60e826e441b22521a348ea03d | |
parent | e4356dc2ae700c90475abd056f60b6377d16ecf4 (diff) | |
download | poezio-2886d10ea97bab789b0679b5a622a18fcb28f123.tar.gz poezio-2886d10ea97bab789b0679b5a622a18fcb28f123.tar.bz2 poezio-2886d10ea97bab789b0679b5a622a18fcb28f123.tar.xz poezio-2886d10ea97bab789b0679b5a622a18fcb28f123.zip |
Fix a traceback in the kick/ban handler
-rw-r--r-- | poezio/tabs/muctab.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index db1e88b6..a6a87580 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -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) |