summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-05-03 19:01:35 +0100
committerSadie Powell <sadie@witchery.services>2025-05-03 19:01:35 +0100
commitc95594141346ef6fb65a5af177bed35ed865234d (patch)
treecbe66004acce65613421cae0c5714aa79fcb97c3
parent2e2515b9f01e374a28697f1f6715eb490f17950f (diff)
Remove the unused template overload of SendMode.
-rw-r--r--include/protocol.h10
1 files changed, 0 insertions, 10 deletions
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<Anope::string> &values);
- template <typename... Args>
- 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<Anope::string> &values);
- template <typename... Args>
- 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