diff options
Diffstat (limited to 'src/modules')
-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; |