summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/StopSpamMod/src/stopspam.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/StopSpamMod/src/stopspam.cpp b/plugins/StopSpamMod/src/stopspam.cpp
index 1c3f06e62d..f8d9f205c7 100755
--- a/plugins/StopSpamMod/src/stopspam.cpp
+++ b/plugins/StopSpamMod/src/stopspam.cpp
@@ -148,6 +148,9 @@ MIRANDA_HOOK_EVENT(ME_DB_EVENT_FILTER_ADD, w, l)
message = mir_a2u((char*)(dbei->pBlob));
// if message contains right answer...
+
+ boost::algorithm::erase_all(message, "\r");
+ boost::algorithm::erase_all(message, "\n");
BYTE msg = 1;
if(gbInvisDisable)