From 8fbf5193e65ebb3b8fef3c7afcfd8a9ac89e63fc Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 8 Dec 2014 08:21:29 +0200 Subject: [PATCH] Network: make whois reply more clear Mention that it's possible that whoised user has channel list hiding umode. This umode is usually +i, but I say "channel list hiding umode", because +i is not always the umode which hides user list. For example Quakenet always forces mode +i to every user and it cannot be unset, but channel list is still visible. Some other IRCds can have different modes to hide channel lists than +i. --- plugins/Network/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Network/plugin.py b/plugins/Network/plugin.py index a678e03eb..8fd6f6115 100644 --- a/plugins/Network/plugin.py +++ b/plugins/Network/plugin.py @@ -243,7 +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')] + L = [_('isn\'t on any non-secret channels or has channel list hiding umode')] else: L = [] channels = format('%L', L)