diff options
| author | 2025-03-28 11:18:30 +0000 | |
|---|---|---|
| committer | 2025-03-28 11:18:30 +0000 | |
| commit | d6122e692b0f710e00a0547d77d1cce23dad4daf (patch) | |
| tree | be73207c887b82ec490345412f68afa4c33c66cc /modules/ldapauth.cpp | |
| parent | Move DefaultIsNick/DefaultIsUser/IsNick/IsUser to UserManager. (diff) | |
Remove more v3 config compat.
Diffstat (limited to 'modules/ldapauth.cpp')
| -rw-r--r-- | modules/ldapauth.cpp | 13 |
1 files changed, 0 insertions, 13 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 |
