diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-03-01 16:17:14 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-03-01 16:17:14 +0100 |
commit | d6eb4a1fc5b86bfb5467108d89923c7b64f27aed (patch) | |
tree | d86df061f5b8b519eb89b100d502e046b07fecc9 /src/modules/m_sajoin.cpp | |
parent | 49e2df0307b41f76529f26da2fa26456c179cdb2 (diff) |
Send NOTICEs that can go to both local and remote users with User::WriteRemoteNotice()
Diffstat (limited to 'src/modules/m_sajoin.cpp')
-rw-r--r-- | src/modules/m_sajoin.cpp | 2 |
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; } |