From 6e5713d64a379fc64c7ff6658362d02b3618c3ca Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 24 Jun 2024 13:29:41 +0100 Subject: Remove the formatting overloads of SendNotice/SendPrivmsg. --- include/protocol.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') 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 &tags = {}); - virtual void SendPrivmsgInternal(const MessageSource &, const Anope::string &dest, const Anope::string &msg, const Anope::map &tags = {}); + virtual void SendNotice(const MessageSource &source, const Anope::string &dest, const Anope::string &msg, const Anope::map &tags = {}); + virtual void SendPrivmsg(const MessageSource &source, const Anope::string &dest, const Anope::string &msg, const Anope::map &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); -- cgit