From 8f78205406aae98314310cbbb4302acb10b3048f Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 10 Jul 2016 21:52:18 -0700 Subject: [PATCH] handlers: remove idle and signon time in WHOIS output (#267) We can't accurately track this for things like relay users without forwarding WHOIS replies like Janus does. I don't really like faking values either, so let's just remove this entirely --- coremods/handlers.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/coremods/handlers.py b/coremods/handlers.py index 6e91934..0d56a8e 100644 --- a/coremods/handlers.py +++ b/coremods/handlers.py @@ -84,11 +84,6 @@ def handle_whois(irc, source, command, args): if away_text: f(server, 301, source, '%s :%s' % (nick, away_text)) - # 317: shows idle and signon time. However, we don't track the user's real - # idle time, so we simply return 0. - # <- 317 GL GL 15 1437632859 :seconds idle, signon time - f(server, 317, source, "%s 0 %s :seconds idle, signon time" % (nick, user.ts)) - if (irc.umodes.get('bot'), None) in user.modes: # Show botmode info in WHOIS. f(server, 335, source, "%s :is a bot" % nick)