aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hidemode.cpp
diff options
context:
space:
mode:
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;