diff options
-rw-r--r-- | src/modules/m_exemptchanops.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp index a5c79169b..7751153e2 100644 --- a/src/modules/m_exemptchanops.cpp +++ b/src/modules/m_exemptchanops.cpp @@ -109,11 +109,11 @@ class ModuleExemptChanOps : public Module { for (modelist::iterator i = list->begin(); i != list->end(); ++i) { - std::string::size_type pos = (**i).mask.find(':'); + std::string::size_type pos = (*i).mask.find(':'); if (pos == std::string::npos) continue; - if ((**i).mask.substr(0,pos) == restriction) - minmode = (**i).mask[pos+1]; + if ((*i).mask.substr(0,pos) == restriction) + minmode = (*i).mask[pos+1]; } } |