summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-13 20:23:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-13 20:23:17 +0300
commit54e2d0c216f73e368eeb96dc43f8de233f1a6027 (patch)
tree76ff7d1bc46bc8ed7f455124e598432908f9115c /plugins/StopSpamPlus/src/utils.cpp
parentb81af5bb151e516e40742a71922ed031e26832af (diff)
StopSpam -> g_plugin
Diffstat (limited to 'plugins/StopSpamPlus/src/utils.cpp')
-rw-r--r--plugins/StopSpamPlus/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StopSpamPlus/src/utils.cpp b/plugins/StopSpamPlus/src/utils.cpp
index 6fb2233318..e01f73802e 100644
--- a/plugins/StopSpamPlus/src/utils.cpp
+++ b/plugins/StopSpamPlus/src/utils.cpp
@@ -1,6 +1,6 @@
#include "stdafx.h"
-tstring &GetDlgItemString(HWND hwnd, int id)
+tstring& GetDlgItemString(HWND hwnd, int id)
{
HWND h = GetDlgItem(hwnd, id);
int len = GetWindowTextLength(h);
@@ -22,7 +22,7 @@ bool IsExistMyMessage(MCONTACT hContact)
if (dbei.flags & DBEF_SENT){
// mark contact as Answered
- db_set_b(hContact, MODULENAME, answeredSetting, 1);
+ g_plugin.setByte(hContact, DB_KEY_ANSWERED, 1);
// ...let the event go its way
return true;
}