diff options
| author | 2026-03-02 12:40:52 +0000 | |
|---|---|---|
| committer | 2026-03-02 12:40:52 +0000 | |
| commit | cf3ce6cc23401f13869f5134227e50459f2b809d (patch) | |
| tree | 88261dde94d90539b85fe4b430cbbce599be6748 /modules/hidemode.cpp | |
| parent | Fix regular users being told about server operator privileges. (diff) | |
| download | inspircd++-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.cpp | 2 |
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; |
