diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-14 11:43:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-14 11:43:00 +0000 |
commit | 35521473bbca1574a81b7d3e9aac3392fbcd2d50 (patch) | |
tree | cb1b2a883d4bf905df84a051463d76474f8d0198 | |
parent | 26e22f0cad4ab6bc2f7fc3464d283d95d458909a (diff) |
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
-rw-r--r-- | src/modules/m_filter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |