summaryrefslogtreecommitdiff
path: root/src/modules/m_alltime.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-03-02 15:20:21 +0100
committerAttila Molnar <attilamolnar@hush.com>2016-03-02 15:20:21 +0100
commit78044f849b63c71fb9c741c648415a298c0ed617 (patch)
treecea99eb0916f69f94aad904596b6c20eda949f38 /src/modules/m_alltime.cpp
parent4f1005acd1e97a6dac8182f80a0ccf453376ba67 (diff)
parent48d19bdd2cdccca18c82d74c0c0cbefc2a87069a (diff)
Merge branch 'master+writeremotenotice'
Diffstat (limited to 'src/modules/m_alltime.cpp')
-rw-r--r--src/modules/m_alltime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp
index 075064c62..73c0fa994 100644
--- a/src/modules/m_alltime.cpp
+++ b/src/modules/m_alltime.cpp
@@ -33,9 +33,9 @@ class CommandAlltime : public Command
{
const std::string fmtdate = InspIRCd::TimeString(ServerInstance->Time(), "%Y-%m-%d %H:%M:%S", true);
- std::string msg = ":" + ServerInstance->Config->ServerName + " NOTICE " + user->nick + " :System time is " + fmtdate + " (" + ConvToStr(ServerInstance->Time()) + ") on " + ServerInstance->Config->ServerName;
+ std::string msg = "System time is " + fmtdate + " (" + ConvToStr(ServerInstance->Time()) + ") on " + ServerInstance->Config->ServerName;
- user->SendText(msg);
+ user->WriteRemoteNotice(msg);
/* we want this routed out! */
return CMD_SUCCESS;