aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-02-19 19:18:10 +0000
committerGravatar Sadie Powell2023-02-19 19:29:20 +0000
commit1a830b5679d3077a70bca4ffea62234eeeb33900 (patch)
tree7b1cf74f34186e9d61c29ff5e8275a2586b8a852 /src/configreader.cpp
parentRename the mode fields in the services module. (diff)
Merge the servprotect module into the services module.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 074429571..79ce004e0 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -636,6 +636,8 @@ std::vector<std::string> ServerConfig::GetModules() const
modules.push_back("account");
modules.push_back("services");
}
+ else if (stdalgo::string::equalsci(shortname, "servprotect"))
+ modules.push_back("services");
else
{
// No need to rewrite this module name.