From 7974f6d315800c305616293a59815c77c4d9509e Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 27 May 2007 11:29:24 +0000 Subject: Another for bug #307 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7161 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanprotect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3