diff options
| author | 2026-03-02 12:40:52 +0000 | |
|---|---|---|
| committer | 2026-03-02 12:40:52 +0000 | |
| commit | cf3ce6cc23401f13869f5134227e50459f2b809d (patch) | |
| tree | 88261dde94d90539b85fe4b430cbbce599be6748 /modules/namedmodes.cpp | |
| parent | Fix 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.cpp | 4 |
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)); } |
