diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2009-09-30 21:35:51 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2009-09-30 21:35:51 +0300 |
commit | 4d4bd94c0e34e2eaedc9d12926f14ccde8e0b69c (patch) | |
tree | 2d7d1d0d5958ff64e6f563f6336408e5c2ad80ce /stopspam_mod/trunk/options.cpp | |
parent | c506453b8518a9bd7622756f24e24323ad97e375 (diff) |
variables support for stopspam (ported from stopspam from koshechka)
Diffstat (limited to 'stopspam_mod/trunk/options.cpp')
-rw-r--r-- | stopspam_mod/trunk/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stopspam_mod/trunk/options.cpp b/stopspam_mod/trunk/options.cpp index 9983444..52fd4d5 100644 --- a/stopspam_mod/trunk/options.cpp +++ b/stopspam_mod/trunk/options.cpp @@ -134,7 +134,7 @@ INT_PTR CALLBACK MessagesDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar SetDlgItemText(hwnd, ID_QUESTION, gbQuestion.c_str());
SetDlgItemText(hwnd, ID_ANSWER, gbAnswer.c_str());
SetDlgItemText(hwnd, ID_CONGRATULATION, gbCongratulation.c_str());
- SetDlgItemTextA(hwnd, ID_AUTHREPL, gbAuthRepl.c_str());
+ SetDlgItemText(hwnd, ID_AUTHREPL, gbAuthRepl.c_str());
}
return TRUE;
case WM_COMMAND:
@@ -175,7 +175,7 @@ INT_PTR CALLBACK MessagesDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar gbAnswer = DBGetContactSettingStringPAN(NULL, pluginName, "answer", _T("nospam"));
DBWriteContactSettingTString(NULL, pluginName, "authrepl",
GetDlgItemString(hwnd, ID_AUTHREPL).c_str());
- gbAuthRepl = DBGetContactSettingStringPAN_A(NULL, pluginName, "authrepl", "StopSpam: send a message and reply to a anti-spam bot question.");
+ gbAuthRepl = DBGetContactSettingStringPAN(NULL, pluginName, "authrepl", _T("StopSpam: send a message and reply to a anti-spam bot question."));
DBWriteContactSettingTString(NULL, pluginName, "congratulation",
GetDlgItemString(hwnd, ID_CONGRATULATION).c_str());
gbCongratulation = DBGetContactSettingStringPAN(NULL, pluginName, "congratulation", _T("Congratulations! You just passed human/robot test. Now you can write me a message."));
|