diff options
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 320fcab78..75c6ab1e6 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -479,6 +479,11 @@ void Channel::WriteNotice(const std::string& text, char status) { ClientProtocol::Messages::Privmsg privmsg(ClientProtocol::Messages::Privmsg::nocopy, ServerInstance->FakeClient, this, text, MSG_NOTICE, status); Write(ServerInstance->GetRFCEvents().privmsg, privmsg); +} + +void Channel::WriteRemoteNotice(const std::string& text, char status) +{ + WriteNotice(text, status); ServerInstance->PI->SendMessage(this, status, text, MSG_NOTICE); } |