aboutsummaryrefslogtreecommitdiff
path: root/modules/permchannels.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-02 12:40:52 +0000
committerGravatar Sadie Powell2026-03-02 12:40:52 +0000
commitcf3ce6cc23401f13869f5134227e50459f2b809d (patch)
tree88261dde94d90539b85fe4b430cbbce599be6748 /modules/permchannels.cpp
parentFix 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.cpp4
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;