summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-05-03 18:10:24 +0100
committerSadie Powell <sadie@witchery.services>2025-05-03 18:10:24 +0100
commitf953f7f006b8ceb6fc3f0885308c040f71a48a47 (patch)
tree25c01076a6d1ff7e6b6aba995f2b8b44cb871857
parent84baf1562082fd40b4abff4c944168c65b846172 (diff)
Bump the minimum version of ircd-hybrid to 8.2.34.
This is 5 years old and allows us to remove the SVSACCOUNT hack.
-rw-r--r--docs/README2
-rw-r--r--modules/protocol/hybrid.cpp18
2 files changed, 5 insertions, 15 deletions
diff --git a/docs/README b/docs/README
index 94883daf0..09ce8e0bf 100644
--- a/docs/README
+++ b/docs/README
@@ -168,7 +168,7 @@ Table of Contents
* Bahamut 2.0 or later
* InspIRCd 3 or later
- * ircd-hybrid 8.2.23 or later
+ * ircd-hybrid 8.2.34 or later
* ircd-ratbox 3 or later
* ngIRCd 19.2 or later
* Plexus 3 or later
diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp
index f7309bbab..260bf7cfc 100644
--- a/modules/protocol/hybrid.cpp
+++ b/modules/protocol/hybrid.cpp
@@ -1,4 +1,4 @@
-/* ircd-hybrid protocol module. Minimum supported version of ircd-hybrid is 8.2.23.
+/* ircd-hybrid protocol module. Minimum supported version of ircd-hybrid is 8.2.34.
*
* (C) 2003-2025 Anope Team <team@anope.org>
* (C) 2012-2022 ircd-hybrid development team
@@ -13,7 +13,6 @@
#include "modules/chanserv/mode.h"
static Anope::string UplinkSID;
-static bool UseSVSAccount = false; // Temporary backwards compatibility hack until old proto is deprecated
class HybridProto final
: public IRCDProto
@@ -25,7 +24,7 @@ class HybridProto final
}
public:
- HybridProto(Module *creator) : IRCDProto(creator, "ircd-hybrid 8.2.23+")
+ HybridProto(Module *creator) : IRCDProto(creator, "ircd-hybrid 8.2.34+")
{
DefaultPseudoclientModes = "+oi";
CanSVSNick = true;
@@ -209,18 +208,12 @@ public:
void SendLogin(User *u, NickAlias *na) override
{
- if (!UseSVSAccount)
- IRCD->SendMode(Config->GetClient("NickServ"), u, "+d", na->nc->display);
- else
- Uplink::Send("SVSACCOUNT", u->GetUID(), u->timestamp, na->nc->display);
+ Uplink::Send("SVSACCOUNT", u->GetUID(), u->timestamp, na->nc->display);
}
void SendLogout(User *u) override
{
- if (!UseSVSAccount)
- IRCD->SendMode(Config->GetClient("NickServ"), u, "+d", '*');
- else
- Uplink::Send("SVSACCOUNT", u->GetUID(), u->timestamp, '*');
+ Uplink::Send("SVSACCOUNT", u->GetUID(), u->timestamp, '*');
}
void SendChannel(Channel *c) override
@@ -511,10 +504,7 @@ struct IRCDMessageServer final
return;
if (params.size() == 5)
- {
UplinkSID = params[2];
- UseSVSAccount = true;
- }
new Server(source.GetServer() == NULL ? Me : source.GetServer(), params[0], 1, params.back(), UplinkSID);