diff options
-rw-r--r-- | src/modules/m_filter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp index 652e4d85b..36073db3b 100644 --- a/src/modules/m_filter.cpp +++ b/src/modules/m_filter.cpp @@ -40,10 +40,9 @@ class ModuleFilter : public FilterBase virtual FilterResult* FilterMatch(const std::string &text) { - std::string text2 = text+" "; for (filter_t::iterator index = filters.begin(); index != filters.end(); index++) { - if ((ServerInstance->MatchText(text2,index->first)) || (ServerInstance->MatchText(text,index->first))) + if (ServerInstance->MatchText(text,index->first)) { FilterResult* fr = index->second; if (index != filters.begin()) |