diff options
author | Sadie Powell <sadie@witchery.services> | 2024-06-24 13:29:41 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-06-24 13:30:17 +0100 |
commit | 6e5713d64a379fc64c7ff6658362d02b3618c3ca (patch) | |
tree | 013fe8b9831fb514502b7f07669929bd484ee45d /include | |
parent | 249ad3dfea933310f10947cc03f6fe85ab116b81 (diff) |
Remove the formatting overloads of SendNotice/SendPrivmsg.
Diffstat (limited to 'include')
-rw-r--r-- | include/protocol.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/protocol.h b/include/protocol.h index 97eb772b5..d69fa66fc 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -41,8 +41,8 @@ public: virtual ~IRCDProto(); - virtual void SendNoticeInternal(const MessageSource &, const Anope::string &dest, const Anope::string &msg, const Anope::map<Anope::string> &tags = {}); - virtual void SendPrivmsgInternal(const MessageSource &, const Anope::string &dest, const Anope::string &msg, const Anope::map<Anope::string> &tags = {}); + virtual void SendNotice(const MessageSource &source, const Anope::string &dest, const Anope::string &msg, const Anope::map<Anope::string> &tags = {}); + virtual void SendPrivmsg(const MessageSource &source, const Anope::string &dest, const Anope::string &msg, const Anope::map<Anope::string> &tags = {}); virtual void SendCTCPInternal(const MessageSource &, const Anope::string &dest, const Anope::string &buf); /** Parses an incoming message from the IRC server. @@ -213,8 +213,6 @@ public: virtual void SendKick(const MessageSource &source, const Channel *chan, User *user, const Anope::string &msg); - virtual void SendNotice(const MessageSource &source, const Anope::string &dest, const char *fmt, ...) ATTR_FORMAT(4, 5); - virtual void SendPrivmsg(const MessageSource &source, const Anope::string &dest, const char *fmt, ...) ATTR_FORMAT(4, 5); virtual void SendAction(const MessageSource &source, const Anope::string &dest, const char *fmt, ...) ATTR_FORMAT(4, 5); virtual void SendCTCP(const MessageSource &source, const Anope::string &dest, const char *fmt, ...) ATTR_FORMAT(4, 5); |