summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstopspam.cpp3
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)