summaryrefslogtreecommitdiff
path: root/src/commands/cmd_who.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-12-30 20:26:05 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-12-30 20:26:05 +0100
commit37db441fb55f954f25fb2846e803b5c9527c21bb (patch)
tree17f4ffb6e955f5825ddcbfb942206c333c6ac026 /src/commands/cmd_who.cpp
parent8365be5414ae0f6d09724bd540db41ba24b2a7fd (diff)
Fix User::age being incorrectly used in some places instead of signon
Diffstat (limited to 'src/commands/cmd_who.cpp')
-rw-r--r--src/commands/cmd_who.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_who.cpp b/src/commands/cmd_who.cpp
index 2b3242211..90c26a974 100644
--- a/src/commands/cmd_who.cpp
+++ b/src/commands/cmd_who.cpp
@@ -141,7 +141,7 @@ bool CommandWho::whomatch(User* cuser, User* user, const char* matchtext)
long seconds = ServerInstance->Duration(matchtext);
// Okay, so time matching, we want all users connected `seconds' ago
- if (user->age >= ServerInstance->Time() - seconds)
+ if (user->signon >= ServerInstance->Time() - seconds)
match = true;
}