aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hidemode.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/hidemode.cpp
parentFix regular users being told about server operator privileges. (diff)
downloadinspircd++-cf3ce6cc23401f13869f5134227e50459f2b809d.tar.gz
inspircd++-cf3ce6cc23401f13869f5134227e50459f2b809d.tar.bz2
inspircd++-cf3ce6cc23401f13869f5134227e50459f2b809d.zip
Rename ServiceProvider methods to avoid shadowing issues.
Diffstat (limited to 'modules/hidemode.cpp')
-rw-r--r--modules/hidemode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hidemode.cpp b/modules/hidemode.cpp
index c3bd0b175..95d8a3459 100644
--- a/modules/hidemode.cpp
+++ b/modules/hidemode.cpp
@@ -33,7 +33,7 @@ class Settings final
public:
ModeHandler::Rank GetRequiredRank(const ModeHandler& mh) const
{
- RanksToSeeMap::const_iterator it = rankstosee.find(mh.name);
+ RanksToSeeMap::const_iterator it = rankstosee.find(mh.service_name);
if (it != rankstosee.end())
return it->second;
return 0;