From 20ff06f3ddf36a3fd48262c530ae4588a4748478 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 12 Jul 2013 17:21:35 +0000 Subject: [PATCH] Network: Fix @whois for Python 3. --- plugins/Network/plugin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/Network/plugin.py b/plugins/Network/plugin.py index 165e7ecc1..9e7750152 100644 --- a/plugins/Network/plugin.py +++ b/plugins/Network/plugin.py @@ -252,11 +252,10 @@ class Network(callbacks.Plugin): identify = '' if command == 'whois': s = _('%s (%s) has been%s on server %s since %s (idle for %s) and ' - '%s.%s').decode('utf8') % (user, hostmask, identify, server, + '%s.%s') % (user, hostmask, identify, server, signon, idle, channels, away) else: - s = _('%s (%s) has been%s on server %s and disconnect on %s.') \ - .decode('utf8') % \ + s = _('%s (%s) has been%s on server %s and disconnect on %s.') % \ (user, hostmask, identify, server, signoff) replyIrc.reply(s) del self._whois[(irc, loweredNick)]