From 6d7fe69cdf9ff1b8fcb149734753c2800894b68e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 9 Mar 2025 18:51:03 +0000 Subject: Add support for oper-only quit messages. This currently only works on InspIRCd but I believe that other servers also support this. --- include/protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/protocol.h b/include/protocol.h index b4db070d0..08a41d3da 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -222,7 +222,7 @@ public: virtual void SendContextNotice(BotInfo *bi, User *target, Channel *context, const Anope::string &msg); virtual void SendContextPrivmsg(BotInfo *bi, User *target, Channel *context, const Anope::string &msg); - virtual void SendQuit(User *u, const Anope::string &msg); + virtual void SendQuit(User *u, const Anope::string &msg = "", const Anope::string &opermsg = ""); virtual void SendPing(const Anope::string &servname, const Anope::string &who); virtual void SendPong(const Anope::string &servname, const Anope::string &who); -- cgit