mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-25 19:44:13 +01:00
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.
This commit is contained in:
parent
5fdf8c3c9e
commit
8fbf5193e6
@ -243,7 +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')]
|
L = [_('isn\'t on any non-secret channels or has channel list hiding umode')]
|
||||||
else:
|
else:
|
||||||
L = []
|
L = []
|
||||||
channels = format('%L', L)
|
channels = format('%L', L)
|
||||||
|
Loading…
Reference in New Issue
Block a user