From 1836cf36710e2ed7b58a57cc045feda2005db17d Mon Sep 17 00:00:00 2001 From: "Sergey (Elzor) Bolhovskoy" Date: Mon, 24 May 2010 18:31:40 +0600 Subject: minor fix --- stopspam.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stopspam.cpp') diff --git a/stopspam.cpp b/stopspam.cpp index e0ee3f6..41b7005 100644 --- a/stopspam.cpp +++ b/stopspam.cpp @@ -151,6 +151,7 @@ MIRANDA_HOOK_EVENT(ME_DB_EVENT_FILTER_ADD, w, l) else if(DBGetContactSettingWord(hContact,dbei->szModule,"ApparentMode",0) == ID_STATUS_OFFLINE) msg = 0; //is it useful ? } + if(gbCaseInsensitive?(!Stricmp(message.c_str(), (variables_parse(gbAnswer, hContact).c_str()))):( !_tcscmp(message.c_str(), (variables_parse(gbAnswer, hContact).c_str())))) { // unhide contact @@ -192,7 +193,7 @@ MIRANDA_HOOK_EVENT(ME_DB_EVENT_FILTER_ADD, w, l) }; // auto auth. reqwest with send congratulation if(gbAutoReqAuth) - CallContactService(hContact,PSS_AUTHREQUEST,0, (LPARAM)variables_parse(gbCongratulation, hContact).c_str()); + CallContactService(hContact,PSS_AUTHREQUESTW,0, (LPARAM)variables_parse(gbCongratulation, hContact).c_str()); } } return 0; -- cgit v1.2.3