From c95594141346ef6fb65a5af177bed35ed865234d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 3 May 2025 19:01:35 +0100 Subject: Remove the unused template overload of SendMode. --- include/protocol.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include') diff --git a/include/protocol.h b/include/protocol.h index d590a5117..ec090090a 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -196,18 +196,8 @@ public: virtual void SendSVSKill(const MessageSource &source, User *user, const Anope::string &msg); virtual void SendModeInternal(const MessageSource &source, Channel *chan, const Anope::string &modes, const std::vector &values); - template - void SendMode(const MessageSource &source, Channel *chan, const Anope::string &modes, Args &&...args) - { - SendModeInternal(source, chan, modes, { Anope::ToString(args)... }); - } virtual void SendModeInternal(const MessageSource &source, User *u, const Anope::string &modes, const std::vector &values); - template - void SendMode(const MessageSource &source, User *u, const Anope::string &modes, Args &&...args) - { - SendModeInternal(source, u, modes, { Anope::ToString(args)... }); - } /** Introduces a client to the rest of the network * @param u The client to introduce -- cgit