mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +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 = ''
|
||||
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)]
|
||||
|
Loading…
Reference in New Issue
Block a user