summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-12 15:21:17 +0000
committerGravatar Sadie Powell2026-03-12 15:21:17 +0000
commitf6da087c4368799bc6aa68ad07fa717711d91e87 (patch)
tree5aaaf3f9d24225a16b0f0ceaef13c14a55af008f /src
parentFix 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')
-rw-r--r--src/modules/m_helpmode.cpp2
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");