diff options
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; |
