aboutsummaryrefslogtreecommitdiffstats
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-02-27 11:14:03 +0000
committerGravatar Sadie Powell2023-02-27 11:14:03 +0000
commit90bae4f801da1474bfd6303dffea6f8cce5f97a7 (patch)
tree1a97246c5cf02bba3ff5c1988f9813a0c2d2c07d /src/configreader.cpp
parentRename the helpop module to help. (diff)
Load both help and helpmode if a user has helpop in their config.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 79ce004e0..79be8145e 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -627,6 +627,11 @@ std::vector<std::string> ServerConfig::GetModules() const
}
else if (stdalgo::string::equalsci(shortname, "gecosban"))
modules.push_back("realnameban");
+ else if (stdalgo::string::equalsci(shortname, "helpop"))
+ {
+ modules.push_back("help");
+ modules.push_back("helpmode");
+ }
else if (stdalgo::string::equalsci(shortname, "regex_pcre2"))
modules.push_back("regex_pcre");
else if (stdalgo::string::equalsci(shortname, "sha256"))