diff options
| author | 2026-03-02 12:40:52 +0000 | |
|---|---|---|
| committer | 2026-03-02 12:40:52 +0000 | |
| commit | cf3ce6cc23401f13869f5134227e50459f2b809d (patch) | |
| tree | 88261dde94d90539b85fe4b430cbbce599be6748 /modules/permchannels.cpp | |
| parent | Fix regular users being told about server operator privileges. (diff) | |
Rename ServiceProvider methods to avoid shadowing issues.
Diffstat (limited to 'modules/permchannels.cpp')
| -rw-r--r-- | modules/permchannels.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/permchannels.cpp b/modules/permchannels.cpp index eb4590152..a1695f6e0 100644 --- a/modules/permchannels.cpp +++ b/modules/permchannels.cpp @@ -113,7 +113,7 @@ static bool WriteDatabase(PermChannel& permchanmode, bool save_listmodes) if (!list || list->empty()) continue; - stream << indent << lm->name << "list=\""; + stream << indent << lm->service_name << "list=\""; for (auto entry = list->begin(); entry != list->end(); ++entry) { if (entry != list->begin()) @@ -243,7 +243,7 @@ public: for (auto* lm : ServerInstance->Modes.GetListModes()) { - irc::spacesepstream listmodes(tag->getString(lm->name + "list")); + irc::spacesepstream listmodes(tag->getString(lm->service_name + "list")); std::string mask; std::string set_by; |
