diff options
| author | 2022-04-02 03:13:28 +0100 | |
|---|---|---|
| committer | 2022-04-02 03:15:59 +0100 | |
| commit | 731fbab1a6fd4847297d391210d3f9809692448b (patch) | |
| tree | c46c1cdf065afa0f17974352fc08e2c78c072781 /src/channels.cpp | |
| parent | Fix DisplayEmptyList not being called when a list does not exist. (diff) | |
Fix server status messages unintentionally being sent to all users.
This fixes normal users seeing timedbans notices.
Thanks to @AndrioCelos for pointing this out.
Diffstat (limited to 'src/channels.cpp')
| -rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 9eceadf64..4373a1b63 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -478,7 +478,7 @@ const char* Channel::ChanModes(bool showsecret) 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); + Write(ServerInstance->GetRFCEvents().privmsg, privmsg, status); } void Channel::WriteRemoteNotice(const std::string& text, char status) |
