summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-02-22 00:19:22 +0100
committermathieui <mathieui@mathieui.net>2014-02-22 00:19:22 +0100
commit8ca738e8a9b80bcec911b011ae53de9fbe68c9e5 (patch)
tree3b377df58319f1c217bfb09ecef84e2b9eb3ce1c /src
parenta9f0607123798fa6ad990b322e90178ea4101fd8 (diff)
downloadpoezio-8ca738e8a9b80bcec911b011ae53de9fbe68c9e5.tar.gz
poezio-8ca738e8a9b80bcec911b011ae53de9fbe68c9e5.tar.bz2
poezio-8ca738e8a9b80bcec911b011ae53de9fbe68c9e5.tar.xz
poezio-8ca738e8a9b80bcec911b011ae53de9fbe68c9e5.zip
Fix #2474 (bans aren’t logged)
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index bb66f381..979f451f 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -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._text_buffer.add_message(kick_msg)
+ self.add_message(kick_msg, typ=2)
def on_user_kicked(self, presence, user, from_nick):
"""