aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-28 11:18:30 +0000
committerGravatar Sadie Powell2025-03-28 11:18:30 +0000
commitd6122e692b0f710e00a0547d77d1cce23dad4daf (patch)
treebe73207c887b82ec490345412f68afa4c33c66cc /modules
parentMove DefaultIsNick/DefaultIsUser/IsNick/IsUser to UserManager. (diff)
Remove more v3 config compat.
Diffstat (limited to 'modules')
-rw-r--r--modules/ldapauth.cpp13
-rw-r--r--modules/sqlauth.cpp6
2 files changed, 0 insertions, 19 deletions
diff --git a/modules/ldapauth.cpp b/modules/ldapauth.cpp
index cc2dcd2e0..ae0170ebf 100644
--- a/modules/ldapauth.cpp
+++ b/modules/ldapauth.cpp
@@ -376,19 +376,6 @@ public:
if (!mask.empty())
exemptions.push_back(mask);
}
-
- // Begin v3 config compatibility.
- for (const auto& [_, wtag] : ServerInstance->Config->ConfTags("ldapwhitelist"))
- {
- const std::string cidr = wtag->getString("cidr");
- if (!cidr.empty())
- exemptions.push_back("*!*@" + cidr);
- }
-
- irc::spacesepstream nickstream(tag->getString("allowpattern"));
- for (std::string nick; nickstream.GetToken(nick); )
- exemptions.push_back(nick + "!*@*");
- // End v3 config compatibility.
}
void OnUserConnect(LocalUser* user) override
diff --git a/modules/sqlauth.cpp b/modules/sqlauth.cpp
index cf7da4476..2c8196ff7 100644
--- a/modules/sqlauth.cpp
+++ b/modules/sqlauth.cpp
@@ -167,12 +167,6 @@ public:
exemptions.push_back(mask);
}
- // Begin v3 config compatibility.
- const std::string allowpattern = conf->getString("allowpattern");
- if (!allowpattern.empty())
- exemptions.push_back(allowpattern + "!*@*");
- // End v3 config compatibility.
-
hash_algos.clear();
irc::commasepstream algos(conf->getString("hash", "sha1,sha256"));
std::string algo;