aboutsummaryrefslogtreecommitdiffstats
path: root/modules/namedmodes.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/namedmodes.cpp
parentFix regular users being told about server operator privileges. (diff)
Rename ServiceProvider methods to avoid shadowing issues.
Diffstat (limited to 'modules/namedmodes.cpp')
-rw-r--r--modules/namedmodes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/namedmodes.cpp b/modules/namedmodes.cpp
index a1245b23a..d8c52785c 100644
--- a/modules/namedmodes.cpp
+++ b/modules/namedmodes.cpp
@@ -43,12 +43,12 @@ static void DisplayList(LocalUser* user, Channel* channel)
if (!channel->IsModeSet(mh))
continue;
- numeric.Add("+" + mh->name);
+ numeric.Add("+" + mh->service_name);
ParamModeBase* pm = mh->IsParameterMode();
if (pm)
{
if ((pm->IsParameterSecret()) && (!channel->HasUser(user)) && (!user->HasPrivPermission("channels/auspex")))
- numeric.Add("<" + mh->name + ">");
+ numeric.Add("<" + mh->service_name + ">");
else
numeric.Add(channel->GetModeParameter(mh));
}