aboutsummaryrefslogtreecommitdiffstats
path: root/modules/permchannels.cpp
diff options
context:
space:
mode:
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;