diff options
Diffstat (limited to 'src/modules/m_chanprotect.cpp')
-rw-r--r-- | src/modules/m_chanprotect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 1afba46ba..2921e259a 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -111,7 +111,7 @@ class FounderProtectBase { CUList* cl = channel->GetUsers(); std::string item = extend+std::string(channel->name); - for (CUList::iterator i = cl->begin(); i != cl->end(); i++) + for (CUList::reverse_iterator i = cl->rbegin(); i != cl->rend(); i++) { if (i->first->GetExt(item, dummyptr)) { |