diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-03 15:54:28 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-03 15:54:28 +0200 |
commit | 886f1ba488a5ab9d7fe4d7b4ac6b9c9dc2841738 (patch) | |
tree | 02eabf80806341753a17e6d1e68cacbc41ee484c /src/commands/cmd_who.cpp | |
parent | 2bcb73e8339d4ad9db6c0e9cd1307b522f3fcde5 (diff) |
Convert InspIRCd::Duration() to be static
Diffstat (limited to 'src/commands/cmd_who.cpp')
-rw-r--r-- | src/commands/cmd_who.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cmd_who.cpp b/src/commands/cmd_who.cpp index c8cb67694..a15fde68e 100644 --- a/src/commands/cmd_who.cpp +++ b/src/commands/cmd_who.cpp @@ -138,7 +138,7 @@ bool CommandWho::whomatch(User* cuser, User* user, const char* matchtext) match = InspIRCd::Match(user->awaymsg, matchtext); else if (opt_time) { - long seconds = ServerInstance->Duration(matchtext); + long seconds = InspIRCd::Duration(matchtext); // Okay, so time matching, we want all users connected `seconds' ago if (user->age >= ServerInstance->Time() - seconds) @@ -197,7 +197,7 @@ void CommandWho::SendWhoLine(User* user, const std::vector<std::string>& parms, wholine.append(ServerInstance->Config->HideWhoisServer); else wholine.append(u->server); - + wholine.append(" " + u->nick + " "); /* away? */ |