Some more const_iterator instead of iterator

Thanks KiNgMaR again.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1456 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-03-30 14:42:03 +00:00
parent 57341209cb
commit a6300e37fa
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -596,7 +596,7 @@ public:
void SendNickList(CUser* pUser, const set<CString>& ssNicks, const CString& sChan) {
CString sNickList;
for (set<CString>::iterator it = ssNicks.begin(); it != ssNicks.end(); it++) {
for (set<CString>::const_iterator it = ssNicks.begin(); it != ssNicks.end(); it++) {
CUser* pChanUser = CZNC::Get().FindUser(*it);
if (pChanUser && pChanUser->IsUserAttached()) {