3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

relay: don't show "real server" for clientbot users, it's not accurately tracked

This commit is contained in:
James Lu 2016-07-23 22:30:10 -07:00
parent 150bfe8c66
commit 05a5ec7e19

View File

@ -840,7 +840,7 @@ def handle_relay_whois(irc, source, command, args):
# Send account information if told to and the target is logged in.
wreply(330, "%s :is logged in (on %s) as" % (realuser.services_account, netname))
if checkSendKey('whois_show_server'):
if checkSendKey('whois_show_server') and realirc.protoname != 'clientbot':
wreply(320, ":is actually connected via the following server:")
realserver = realirc.getServer(uid)
realserver = realirc.servers[realserver]