diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-21 11:48:44 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-21 11:48:44 +0000 |
commit | e30f934cc03395194cd72472acc9cf4b05d9e64e (patch) | |
tree | 786fa49251c79113924786d1e4c7fc47dd94fdd9 /src/modules | |
parent | 94c3952d8e537fa67d18f58ecc001ed805c64735 (diff) |
win32 compilation errors: shadowing of variable 'i' isnt a good idea
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8746 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_callerid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 6098ff9e9..4faa67945 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -53,9 +53,9 @@ void RemoveFromAllAccepts(InspIRCd* ServerInstance, User* who) callerid_data* dat = GetData(i->second, false); if (!dat) continue; std::set<User*>& accepting = dat->accepting; - std::set<User*>::iterator i = accepting.find(who); - if (i == accepting.end()) continue; - accepting.erase(i); + std::set<User*>::iterator iter = accepting.find(who); + if (iter == accepting.end()) continue; + accepting.erase(iter); } } |