From f6da087c4368799bc6aa68ad07fa717711d91e87 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 12 Mar 2026 15:21:17 +0000 Subject: Fix clearing the help channel modes before re-reading the config. --- src/modules/m_helpmode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 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"); -- cgit v1.3.1-10-gc9f91