From d5e7cb51ac99e777eae218f3a7d54f9386b0846a Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 7 Jan 2013 10:06:21 +0200 Subject: answer checking fix patch from "110704" --- stopspam.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stopspam.cpp') 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) -- cgit v1.2.3