summaryrefslogtreecommitdiff
path: root/src/modules/m_sajoin.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_sajoin.cpp
parent4f1005acd1e97a6dac8182f80a0ccf453376ba67 (diff)
parent48d19bdd2cdccca18c82d74c0c0cbefc2a87069a (diff)
Merge branch 'master+writeremotenotice'
Diffstat (limited to 'src/modules/m_sajoin.cpp')
-rw-r--r--src/modules/m_sajoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp
index 9696b08a1..cc97c7308 100644
--- a/src/modules/m_sajoin.cpp
+++ b/src/modules/m_sajoin.cpp
@@ -66,7 +66,7 @@ class CommandSajoin : public Command
Channel* chan = ServerInstance->FindChan(channel);
if ((chan) && (chan->HasUser(dest)))
{
- user->SendText(":" + user->server->GetName() + " NOTICE " + user->nick + " :*** " + dest->nick + " is already on " + channel);
+ user->WriteRemoteNotice("*** " + dest->nick + " is already on " + channel);
return CMD_FAILURE;
}