diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-01-07 10:12:45 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-01-07 10:12:45 +0200 |
commit | 7b494606e765462ab86c75739170c0769524c7bd (patch) | |
tree | 55730fc44dd3c19cedf7bc8084ae91ce578148e5 /src/stopspam.cpp | |
parent | e249aaeb9de2b3465053996f7d228e6b46f913bf (diff) |
answer checking fix patch from "110704"stopspam_mod_miranda_ng
Diffstat (limited to 'src/stopspam.cpp')
-rwxr-xr-x | src/stopspam.cpp | 3 |
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) |