summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-05 20:36:56 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-05 20:36:56 +0000
commit905a2c45a475f947ca28ce8909b563b4f69eeb28 (patch)
tree31a990a80bd43a884b1973cd2954c69aa28667b0
parentee4b15269660925a0370c865e65787b32cfde603 (diff)
Fix variable shadowing warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12594 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_auditorium.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp
index e55aa84a4..7519b1189 100644
--- a/src/modules/m_auditorium.cpp
+++ b/src/modules/m_auditorium.cpp
@@ -157,10 +157,10 @@ class ModuleAuditorium : public Module
include.erase(c);
// however, that might hide me from ops that can see me...
const UserMembList* users = c->GetUsers();
- for(UserMembCIter i = users->begin(); i != users->end(); i++)
+ for(UserMembCIter j = users->begin(); j != users->end(); j++)
{
- if (IS_LOCAL(i->first) && CanSee(i->first, memb))
- exception[i->first] = true;
+ if (IS_LOCAL(j->first) && CanSee(j->first, memb))
+ exception[j->first] = true;
}
}
}