summaryrefslogtreecommitdiff
path: root/src/modules/m_exemptchanops.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-15 00:08:09 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-15 00:08:09 +0000
commitd783bb290f3123b51e66678c0027604cf2e18abd (patch)
tree5456ab2654f374a1ee59ccc6c082d208c0a98339 /src/modules/m_exemptchanops.cpp
parent040cdb13e45ece886cf8392937ba61ef39c1f497 (diff)
Fix build error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12459 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_exemptchanops.cpp')
-rw-r--r--src/modules/m_exemptchanops.cpp6
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];
}
}