diff options
author | Adam <adam@sigterm.info> | 2013-12-14 22:55:10 -0800 |
---|---|---|
committer | Adam <adam@sigterm.info> | 2013-12-14 22:55:10 -0800 |
commit | 59df199aaedf8018979c444eaa8cca59ff001877 (patch) | |
tree | e7d873a3250f50b2ecb7c4bc47d7fcf7a9cefefd /src/commands/cmd_whowas.cpp | |
parent | 357d190074ee58809b31ea0c08543566168bddf6 (diff) | |
parent | ad47ea662698e72ff8f79b03512b1e7fe81bdf53 (diff) |
Merge pull request #689 from SaberUK/master+cxxify
Clean up various things.
Diffstat (limited to 'src/commands/cmd_whowas.cpp')
-rw-r--r-- | src/commands/cmd_whowas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_whowas.cpp b/src/commands/cmd_whowas.cpp index bdd16b520..fab65aae3 100644 --- a/src/commands/cmd_whowas.cpp +++ b/src/commands/cmd_whowas.cpp @@ -62,7 +62,7 @@ CmdResult CommandWhowas::Handle (const std::vector<std::string>& parameters, Use user->WriteNumeric(RPL_WHOWASIP, "%s :was connecting from *@%s", parameters[0].c_str(), u->host.c_str()); - std::string signon = ServerInstance->TimeString(u->signon); + std::string signon = InspIRCd::TimeString(u->signon); bool hide_server = (!ServerInstance->Config->HideWhoisServer.empty() && !user->HasPrivPermission("servers/auspex")); user->WriteNumeric(RPL_WHOISSERVER, "%s %s :%s", parameters[0].c_str(), (hide_server ? ServerInstance->Config->HideWhoisServer.c_str() : u->server.c_str()), signon.c_str()); } |