From 05a5ec7e1958f48a196cc773875d67bdd35d4d10 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 23 Jul 2016 22:30:10 -0700 Subject: [PATCH] relay: don't show "real server" for clientbot users, it's not accurately tracked --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index c1d386c..52a6de4 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -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]