summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-18 14:17:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-18 14:17:28 +0300
commit81c8606dd9aa39067353354aa4523be84ef51fd1 (patch)
tree3f157c302093074552d0f792c481c741277cd531 /plugins/StopSpamMod/src/options.cpp
parent73d12d0f6eb5c673a951eec94ddf5cdeeacde369 (diff)
CDlgBase::CDlgBase now receives a reference to CMPlugin instead of HINSTANCE
Diffstat (limited to 'plugins/StopSpamMod/src/options.cpp')
-rwxr-xr-xplugins/StopSpamMod/src/options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/StopSpamMod/src/options.cpp b/plugins/StopSpamMod/src/options.cpp
index be0a7421e6..1ed210bdc3 100755
--- a/plugins/StopSpamMod/src/options.cpp
+++ b/plugins/StopSpamMod/src/options.cpp
@@ -26,7 +26,7 @@ const wchar_t *defAuthReply = LPGENW("StopSpam: send a message and reply to an a
class COptMainDlg : public CDlgBase
{
public:
- COptMainDlg() : CDlgBase(g_plugin.getInst(), IDD_MAIN),
+ COptMainDlg() : CDlgBase(g_plugin, IDD_MAIN),
chk_INFTALKPROT(this, ID_INFTALKPROT), chk_ADDPERMANENT(this, ID_ADDPERMANENT), chk_HANDLEAUTHREQ(this, ID_HANDLEAUTHREQ),
chk_HIDECONTACTS(this, ID_HIDECONTACTS), chk_IGNORESPAMMERS(this, ID_IGNORESPAMMERS), chk_LOGSPAMTOFILE(this, ID_LOGSPAMTOFILE),
ctrl_DESCRIPTION(this, ID_DESCRIPTION), edit_MAXQUESTCOUNT(this, ID_MAXQUESTCOUNT)
@@ -64,7 +64,7 @@ private:
class COptMessagesDlg : public CDlgBase
{
public:
- COptMessagesDlg() : CDlgBase(g_plugin.getInst(), IDD_MESSAGES),
+ COptMessagesDlg() : CDlgBase(g_plugin, IDD_MESSAGES),
edit_QUESTION(this, ID_QUESTION), edit_ANSWER(this, ID_ANSWER), edit_CONGRATULATION(this, ID_CONGRATULATION), edit_AUTHREPL(this, ID_AUTHREPL),
btn_RESTOREDEFAULTS(this, ID_RESTOREDEFAULTS), btn_VARS(this, IDC_VARS)
{
@@ -114,7 +114,7 @@ private:
class COptProtoDlg : public CDlgBase
{
public:
- COptProtoDlg() : CDlgBase(g_plugin.getInst(), IDD_PROTO),
+ COptProtoDlg() : CDlgBase(g_plugin, IDD_PROTO),
list_USEDPROTO(this, ID_USEDPROTO), list_ALLPROTO(this, ID_ALLPROTO),
btn_ADD(this, ID_ADD), btn_REMOVE(this, ID_REMOVE), btn_ADDALL(this, ID_ADDALL), btn_REMOVEALL(this, ID_REMOVEALL)
{
@@ -184,7 +184,7 @@ private:
class COptAdvancedDlg : public CDlgBase
{
public:
- COptAdvancedDlg() : CDlgBase(g_plugin.getInst(), IDD_ADVANCED),
+ COptAdvancedDlg() : CDlgBase(g_plugin, IDD_ADVANCED),
chk_INVIS_DISABLE(this, IDC_INVIS_DISABLE), chk_CASE_INSENSITIVE(this, IDC_CASE_INSENSITIVE), chk_SPECIALGROUP(this, ID_SPECIALGROUP), chk_EXCLUDE(this, ID_EXCLUDE),
chk_REMOVE_TMP(this, ID_REMOVE_TMP), chk_REMOVE_TMP_ALL(this, ID_REMOVE_TMP_ALL), chk_IGNOREURL(this, ID_IGNOREURL), chk_AUTOAUTH(this, IDC_AUTOAUTH), chk_ADDTOSRVLST(this, IDC_ADDTOSRVLST),
chk_REQAUTH(this, IDC_REQAUTH), chk_REGEX(this, IDC_REGEX), chk_HISTORY_LOG(this, IDC_HISTORY_LOG), chk_MATH_QUESTION(this, IDC_MATH_QUESTION),