1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 16:56:39 +02:00

Add support for oper-only quit messages.

This currently only works on InspIRCd but I believe that other
servers also support this.
This commit is contained in:
Sadie Powell
2025-03-09 18:51:03 +00:00
parent 314ef60900
commit 6d7fe69cdf
6 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ void IRCDProto::SendTagmsg(const MessageSource &source, const Anope::string &des
Uplink::Send(tags, source, "TAGMSG", dest);
}
void IRCDProto::SendQuit(User *u, const Anope::string &buf)
void IRCDProto::SendQuit(User *u, const Anope::string &buf, const Anope::string &operbuf)
{
if (!buf.empty())
Uplink::Send(u, "QUIT", buf);