Network.whois: simplify message when user isn't on any public channels

The current message ("xyz isn't on any non-secret channels or is using a channel-list hiding umode.") is long and awkwardly worded. 

This also removes an extra period from showing up at the end of the output.
This commit is contained in:
James Lu 2015-02-20 16:50:40 -08:00
parent 1264573b34
commit 41effcea13

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 publically visible channels')]
else:
L = []
channels = format('%L', L)