Merge pull request #1056 from GLolol/patch-1

Network.whois: simplify message when user isn't on any public channels
This commit is contained in:
Valentin Lorentz 2015-02-21 08:57:43 +01:00
commit 0d7e0f73fb

View File

@ -243,8 +243,7 @@ class Network(callbacks.Plugin):
L.append(format(_('is on %L'), normal))
else:
if command == 'whois':
L = [_('isn\'t on any non-secret channels or is using a '
'channel-list hiding umode.')]
L = [_('isn\'t on any publicly visible channels')]
else:
L = []
channels = format('%L', L)