From d783bb290f3123b51e66678c0027604cf2e18abd Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 15 Feb 2010 00:08:09 +0000 Subject: Fix build error git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12459 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_exemptchanops.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules') 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]; } } -- cgit v1.2.3