summaryrefslogtreecommitdiff
path: root/stopspam_mod/trunk/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stopspam_mod/trunk/init.cpp')
-rw-r--r--stopspam_mod/trunk/init.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/stopspam_mod/trunk/init.cpp b/stopspam_mod/trunk/init.cpp
index f762872..166ac15 100644
--- a/stopspam_mod/trunk/init.cpp
+++ b/stopspam_mod/trunk/init.cpp
@@ -19,7 +19,7 @@ tstring gbSpammersGroup = _T("Spammers");
tstring gbQuestion;
tstring gbAnswer;
tstring gbCongratulation;
-std::string gbAuthRepl;
+std::wstring gbAuthRepl;
extern char * pluginDescription;
extern TCHAR const * defQuestion;
extern int RemoveTmp(WPARAM,LPARAM);
@@ -39,7 +39,7 @@ UTF8_INTERFACE utfi;
PLUGININFOEX pluginInfoEx = {
sizeof(PLUGININFOEX),
0,
- PLUGIN_MAKE_VERSION(0, 0, 1, 6),
+ PLUGIN_MAKE_VERSION(0, 0, 1, 7),
pluginDescription,
"Roman Miklashevsky",
"sss123next@list.ru",
@@ -101,7 +101,7 @@ char *date()
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
- if ( mirandaVersion < PLUGIN_MAKE_VERSION( 0, 7, 0, 0 ))
+ if ( mirandaVersion < PLUGIN_MAKE_VERSION( 0, 7, 0, 1 ))
return NULL;
{
static char plugname[52];
@@ -130,7 +130,7 @@ void InitVars()
gbQuestion = DBGetContactSettingStringPAN(NULL, pluginName, "question", defQuestion);
gbAnswer = DBGetContactSettingStringPAN(NULL, pluginName, "answer", _T("nospam"));
gbCongratulation = DBGetContactSettingStringPAN(NULL, pluginName, "congratulation", _T("Congratulations! You just passed human/robot test. Now you can write me a message."));
- 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."));
gbSpecialGroup = DBGetContactSettingByte(NULL, pluginName, "SpecialGroup", 0);
gbHideContacts = DBGetContactSettingByte(NULL, pluginName, "HideContacts", 0);
gbIgnoreContacts = DBGetContactSettingByte(NULL, pluginName, "IgnoreContacts", 0);