diff options
Diffstat (limited to 'plugins/StopSpamPlus/src')
-rw-r--r-- | plugins/StopSpamPlus/src/options.cpp | 10 | ||||
-rw-r--r-- | plugins/StopSpamPlus/src/stopspam.cpp | 1 | ||||
-rw-r--r-- | plugins/StopSpamPlus/src/version.h | 1 |
3 files changed, 8 insertions, 4 deletions
diff --git a/plugins/StopSpamPlus/src/options.cpp b/plugins/StopSpamPlus/src/options.cpp index 342f446cbb..da64a57d50 100644 --- a/plugins/StopSpamPlus/src/options.cpp +++ b/plugins/StopSpamPlus/src/options.cpp @@ -4,13 +4,14 @@ const wchar_t pluginDescription[] = LPGENW("No more spam! Robots can't go! Only class COptMainDlg : public CPluginDlgBase
{
- CCtrlEdit edtCount;
+ CCtrlEdit edtCount, edtDescr;
CCtrlCheck chk1, chk2, chk3, chk4, chk5, chk6;
public:
COptMainDlg() :
CPluginDlgBase(hInst, IDD_MAIN, pluginName),
edtCount(this, ID_MAXQUESTCOUNT),
+ edtDescr(this, ID_DESCRIPTION),
chk1(this, ID_INFTALKPROT),
chk2(this, ID_ADDPERMANENT),
chk3(this, ID_HANDLEAUTHREQ),
@@ -27,6 +28,11 @@ public: CreateLink(chk5, g_sets.RemTmpAll);
CreateLink(chk6, g_sets.HistLog);
}
+
+ virtual void OnInitDialog() override
+ {
+ edtDescr.SetText(pluginDescription);
+ }
};
/////////////////////////////////////////////////////////////////////////////////////////
@@ -121,7 +127,7 @@ public: item.lParam = (LPARAM)p->szModuleName;
item.pszText = p->tszAccountName;
int idx = m_accounts.InsertItem(&item);
- m_accounts.SetCheckState(idx, !g_sets.ProtoDisabled(p->szModuleName));
+ m_accounts.SetCheckState(idx, g_sets.ProtoDisabled(p->szModuleName));
}
}
diff --git a/plugins/StopSpamPlus/src/stopspam.cpp b/plugins/StopSpamPlus/src/stopspam.cpp index ed9ba96a64..7352177744 100644 --- a/plugins/StopSpamPlus/src/stopspam.cpp +++ b/plugins/StopSpamPlus/src/stopspam.cpp @@ -11,7 +11,6 @@ PLUGININFOEX pluginInfoEx = { PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
__DESCRIPTION,
__AUTHOR,
- __AUTHOREMAIL,
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
diff --git a/plugins/StopSpamPlus/src/version.h b/plugins/StopSpamPlus/src/version.h index 369ce2f5d8..3349b2f3d2 100644 --- a/plugins/StopSpamPlus/src/version.h +++ b/plugins/StopSpamPlus/src/version.h @@ -9,6 +9,5 @@ #define __FILENAME "StopSpam.dll"
#define __DESCRIPTION "Anti-spam plugin for Miranda NG."
#define __AUTHOR "Roman Miklashevsky, A. Petkevich, Kosh&chka, persei"
-#define __AUTHOREMAIL "koshechka@miranda.im"
#define __AUTHORWEB "https://miranda-ng.org/p/StopSpam/"
#define __COPYRIGHT "© 2004-2010 Roman Miklashevsky, A. Petkevich, Kosh&chka, persei"
|