diff options
Diffstat (limited to 'src/modules/m_alltime.cpp')
-rw-r--r-- | src/modules/m_alltime.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp index 7121ac4c7..5f7c83f3c 100644 --- a/src/modules/m_alltime.cpp +++ b/src/modules/m_alltime.cpp @@ -32,14 +32,7 @@ class CommandAlltime : public Command std::string msg = ":" + std::string(ServerInstance->Config->ServerName) + " NOTICE " + user->nick + " :System time is " + fmtdate + "(" + ConvToStr(ServerInstance->Time()) + ") on " + ServerInstance->Config->ServerName; - if (IS_LOCAL(user)) - { - user->Write(msg); - } - else - { - ServerInstance->PI->PushToClient(user, ":" + msg); - } + ServerInstance->DumpText(user, msg); /* we want this routed out! */ return CMD_SUCCESS; |