summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 85d703c2a..a53d9ee00 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -881,7 +881,7 @@ void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long i
}
else
{
- if ((!idle) || (!signon))
+ if ((idle) || (signon))
WriteServ(user->fd,"317 %s %s %d %d :seconds idle, signon time",user->nick, dest->nick, idle, signon);
}
WriteServ(user->fd,"318 %s %s :End of /WHOIS list.",user->nick, dest->nick);