summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey (Elzor) Bolhovskoy <elzor@foobar2000.ru>2010-05-24 18:31:40 +0600
committerSergey (Elzor) Bolhovskoy <elzor@foobar2000.ru>2010-05-24 18:31:40 +0600
commit1836cf36710e2ed7b58a57cc045feda2005db17d (patch)
tree5f68e198319baa2af73a57a91ade899439fd97f6
parentdc8e52b507cbefe14d5bc63eae34667952a3b366 (diff)
minor fix
-rw-r--r--stopspam.cpp3
1 files changed, 2 insertions, 1 deletions
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;