diff options
| author | 2026-02-26 23:06:56 +0000 | |
|---|---|---|
| committer | 2026-02-26 23:08:08 +0000 | |
| commit | d4e268d29c12400d603c6d5e23d88df42e063890 (patch) | |
| tree | 672281c0d64d11f6987c9c53fdc1e551003be848 /src/configreader.cpp | |
| parent | Fix link compatibility with v4 after the sacommand merge. (diff) | |
Load the sacommands module if a config contains the split module names.
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 9e58ba213..1830c3eaf 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -688,6 +688,20 @@ std::vector<std::string> ServerConfig::GetModules() const modules.push_back("hash_sha1"); else if (insp::equalsci(shortname, "sha2")) modules.push_back("hash_sha2"); + else if (insp::equalsci(shortname, "sajoin")) + modules.push_back("sacommands"); + else if (insp::equalsci(shortname, "sakick")) + modules.push_back("sacommands"); + else if (insp::equalsci(shortname, "samode")) + modules.push_back("sacommands"); + else if (insp::equalsci(shortname, "sanick")) + modules.push_back("sacommands"); + else if (insp::equalsci(shortname, "sapart")) + modules.push_back("sacommands"); + else if (insp::equalsci(shortname, "saquit")) + modules.push_back("sacommands"); + else if (insp::equalsci(shortname, "satopic")) + modules.push_back("sacommands"); else if (insp::equalsci(shortname, "sslrehashsignal")) modules.push_back("rehashsignal"); else |
