diff options
| author | 2020-02-04 12:26:25 +0000 | |
|---|---|---|
| committer | 2020-02-04 12:26:25 +0000 | |
| commit | 6da4987073aad99061360bc54022e342e3a0f555 (patch) | |
| tree | d4e8cca5270013eed9915fe740f346cd6890a7c4 /src/channels.cpp | |
| parent | Various CI improvements. (diff) | |
| parent | Include the ABI version with the incompatible module error message. (diff) | |
| download | inspircd++-6da4987073aad99061360bc54022e342e3a0f555.tar.gz inspircd++-6da4987073aad99061360bc54022e342e3a0f555.tar.bz2 inspircd++-6da4987073aad99061360bc54022e342e3a0f555.zip | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/channels.cpp')
| -rw-r--r-- | src/channels.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index e00978fae..e374199c6 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -2,7 +2,7 @@ * InspIRCd -- Internet Relay Chat Daemon * * Copyright (C) 2017 B00mX0r <b00mx0r@aureus.pw> - * Copyright (C) 2013-2014, 2016-2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2013-2014, 2016-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2013 Adam <Adam@anope.org> * Copyright (C) 2012-2016, 2018 Attila Molnar <attilamolnar@hush.com> * Copyright (C) 2012, 2019 Robby <robby@chatbelgie.be> @@ -474,6 +474,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); } |
