diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-12-30 20:26:05 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-12-30 20:26:05 +0100 |
commit | 37db441fb55f954f25fb2846e803b5c9527c21bb (patch) | |
tree | 17f4ffb6e955f5825ddcbfb942206c333c6ac026 /src/commands/cmd_who.cpp | |
parent | 8365be5414ae0f6d09724bd540db41ba24b2a7fd (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.cpp | 2 |
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; } |