summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.py b/src/gui.py
index 988142f6..bbe658fc 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -422,7 +422,7 @@ class Gui(object):
if by:
self.add_message_to_room(room, _("You have been kicked by %(by)s. Reason: %(reason)s") % {'by':by, 'reason':reason})
else:
- self.add_message_to_room(room, _("You have been kicked. Reason: %s") % (reason))
+ self.add_message_to_room(room, _("You have been kicked. Reason: %s") % (reason.encode('utf-8')))
else:
if by:
self.add_message_to_room(room, _("%(nick)s has been kicked by %(by)s. Reason: %(reason)s") % {'nick':from_nick, 'by':by, 'reason':reason})