summaryrefslogtreecommitdiff
path: root/src/stopspam.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-01-07 10:12:45 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-01-07 10:12:45 +0200
commit7b494606e765462ab86c75739170c0769524c7bd (patch)
tree55730fc44dd3c19cedf7bc8084ae91ce578148e5 /src/stopspam.cpp
parente249aaeb9de2b3465053996f7d228e6b46f913bf (diff)
answer checking fix patch from "110704"stopspam_mod_miranda_ng
Diffstat (limited to 'src/stopspam.cpp')
-rwxr-xr-xsrc/stopspam.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stopspam.cpp b/src/stopspam.cpp
index 1c3f06e..f8d9f20 100755
--- a/src/stopspam.cpp
+++ b/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)