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)) L.append(format(_('is on %L'), normal))
else: else:
if command == 'whois': if command == 'whois':
L = [_('isn\'t on any non-secret channels or is using a ' L = [_('isn\'t on any publicly visible channels')]
'channel-list hiding umode.')]
else: else:
L = [] L = []
channels = format('%L', L) channels = format('%L', L)