diff options
| author | 2026-03-12 15:21:17 +0000 | |
|---|---|---|
| committer | 2026-03-12 15:21:17 +0000 | |
| commit | f6da087c4368799bc6aa68ad07fa717711d91e87 (patch) | |
| tree | 5aaaf3f9d24225a16b0f0ceaef13c14a55af008f /src/modules/m_helpmode.cpp | |
| parent | Fix reading the correct name of the <options:modesinlist> field. (diff) | |
Fix clearing the help channel modes before re-reading the config.
Diffstat (limited to 'src/modules/m_helpmode.cpp')
| -rw-r--r-- | src/modules/m_helpmode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_helpmode.cpp b/src/modules/m_helpmode.cpp index 8b01be70c..9fa0717ab 100644 --- a/src/modules/m_helpmode.cpp +++ b/src/modules/m_helpmode.cpp @@ -57,7 +57,6 @@ private: HelpOp helpop; UserModeReference hideoper; bool markhelpers; - std::string helpchanmodes; insp::flat_map<std::string, std::string> helpchans; public: @@ -72,6 +71,7 @@ public: void ReadConfig(ConfigStatus& status) override { + helpchans.clear(); for (const auto& [_, tag] : ServerInstance->Config->ConfTags("helpchan")) { const auto name = tag->getString("name"); |
