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