diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-01-07 10:06:21 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-01-07 10:06:21 +0200 |
commit | d5e7cb51ac99e777eae218f3a7d54f9386b0846a (patch) | |
tree | a8d017823793edf4887f5d4799aa7231f81daa6f | |
parent | 88e50ea16d146e145cae94e49be86e3b9eb246f4 (diff) |
answer checking fix patch from "110704"stopspam_mod
-rwxr-xr-x | stopspam.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stopspam.cpp b/stopspam.cpp index 6a5af42..ca8b8ba 100755 --- a/stopspam.cpp +++ b/stopspam.cpp @@ -149,6 +149,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) |