From 35521473bbca1574a81b7d3e9aac3392fbcd2d50 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 14 Apr 2007 11:43:00 +0000 Subject: Working for m_filter, needs implementing in m_filter_pcre git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6792 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_filter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp index 03ed814bc..133406ccb 100644 --- a/src/modules/m_filter.cpp +++ b/src/modules/m_filter.cpp @@ -51,7 +51,7 @@ class ModuleFilter : public FilterBase if (index != filters.begin()) { std::string pat = index->first; - filters.erase(fr); + filters.erase(index); filters.insert(filters.begin(), std::make_pair(pat,fr)); } return fr; -- cgit v1.2.3