summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-03-09 18:51:03 +0000
committerSadie Powell <sadie@witchery.services>2025-03-09 18:51:03 +0000
commit6d7fe69cdf9ff1b8fcb149734753c2800894b68e (patch)
treea35c951fa0e129e401081a25dc8253ff77b49de0 /include/protocol.h
parent314ef609001bd511c7a7ef243191bcd471bffa1c (diff)
Add support for oper-only quit messages.
This currently only works on InspIRCd but I believe that other servers also support this.
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h2
1 files changed, 1 insertions, 1 deletions
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);