summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-04-16 01:19:53 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-04-16 01:19:53 +0200
commit8167f9d3a43369c1a7367741bff32f69b96aa912 (patch)
tree91357b1ef3f82dd60d19c1a8697a92afc39858f3 /src/tabs.py
parent60e0b2caab47a13395d79d86f268713b0b252b5e (diff)
downloadpoezio-8167f9d3a43369c1a7367741bff32f69b96aa912.tar.gz
poezio-8167f9d3a43369c1a7367741bff32f69b96aa912.tar.bz2
poezio-8167f9d3a43369c1a7367741bff32f69b96aa912.tar.xz
poezio-8167f9d3a43369c1a7367741bff32f69b96aa912.zip
Fix a typo that made the ban messages not appear at all
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 2e62b5c4..760aaa08 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -853,7 +853,7 @@ class MucTab(ChatTab):
else:
kick_msg = _('\x191%(spec)s \x193%(nick)s\x195 has been banned') % {'spec':theme.CHAR_KICK, 'nick':from_nick.replace('"', '\\"')}
if reason is not None and reason.text:
- kick_msg += _('\x195 Reason: \x196%(reason\x195)s') % {'reason': reason.text}
+ kick_msg += _('\x195 Reason: \x196%(reason)s\x195') % {'reason': reason.text}
room.add_message(kick_msg)
def on_user_kicked(self, room, presence, user, from_nick):