Commit 8ca738e8 authored by mathieui's avatar mathieui
Browse files

Fix #2474 (bans aren’t logged)

parent a9f06071
......@@ -1636,7 +1636,7 @@ class MucTab(ChatTab):
if reason is not None and reason.text:
kick_msg += _('\x19%(info_col)s} Reason: \x196}%(reason)s\x19%(info_col)s}') % {
'reason': reason.text, 'info_col': dump_tuple(get_theme().COLOR_INFORMATION_TEXT)}
self.add_message(kick_msg, typ=2)
def on_user_kicked(self, presence, user, from_nick):
Supports Markdown
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