All pastes #481238 Raw Edit

Something

public text v1 · immutable
·published 2007-05-10 18:43 UTC
rendered paste body
Index: src/cmd_whois.cpp
===================================================================
--- src/cmd_whois.cpp   (revision 6964)
+++ src/cmd_whois.cpp   (working copy)
@@ -116,12 +116,8 @@
                 */
                if (IS_LOCAL(dest) && (!*ServerInstance->Config->HideWhoisServer || pcnt > 1))
                {
-                       /* this really is safe, we're only called for local users .. */
-                       if (IS_LOCAL(dest))
-                       {
-                               idle = abs((dest->idle_lastmsg)-ServerInstance->Time());
-                               signon = dest->signon;
-                       }
+                       idle = abs((dest->idle_lastmsg)-ServerInstance->Time());
+                       signon = dest->signon;
                }

                do_whois(this->ServerInstance, user,dest,signon,idle,parameters[0]);