rendered paste bodyIndex: 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]);