mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Network: Fix @whois for Python 3.
This commit is contained in:
parent
baa4430291
commit
20ff06f3dd
@ -252,11 +252,10 @@ class Network(callbacks.Plugin):
|
|||||||
identify = ''
|
identify = ''
|
||||||
if command == 'whois':
|
if command == 'whois':
|
||||||
s = _('%s (%s) has been%s on server %s since %s (idle for %s) and '
|
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)
|
signon, idle, channels, away)
|
||||||
else:
|
else:
|
||||||
s = _('%s (%s) has been%s on server %s and disconnect on %s.') \
|
s = _('%s (%s) has been%s on server %s and disconnect on %s.') % \
|
||||||
.decode('utf8') % \
|
|
||||||
(user, hostmask, identify, server, signoff)
|
(user, hostmask, identify, server, signoff)
|
||||||
replyIrc.reply(s)
|
replyIrc.reply(s)
|
||||||
del self._whois[(irc, loweredNick)]
|
del self._whois[(irc, loweredNick)]
|
||||||
|
Loading…
Reference in New Issue
Block a user