mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user