summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/src/stopspam.cpp
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2013-01-07 08:03:18 +0000
committerAlexander Gluzsky <sss123next@list.ru>2013-01-07 08:03:18 +0000
commit34b3fb960faed1bf0866a25f0aad890bcdf4718d (patch)
treeec5fdf497846aac4f84d232b3af9ce60363f18cc /plugins/StopSpamMod/src/stopspam.cpp
parent260317e7b7133a80805ac1613c94b61aaa3c239f (diff)
answer checking fix patch from "110704"
git-svn-id: http://svn.miranda-ng.org/main/trunk@3004 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamMod/src/stopspam.cpp')
-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)