summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/events.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-27 21:32:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-27 21:32:12 +0300
commit426e2f9755a14023223e2e3ebfa8e78f6e8677a8 (patch)
treeae387e1079fe63cea4d928a0e2564f218836d548 /plugins/StopSpamPlus/src/events.cpp
parentea45fcc6216051c084a762a8fd2d170e095bb1ba (diff)
fix for a function name:
Clist_IsHidden => Contact_IsHidden Clist_HideContact => Contact_Hide
Diffstat (limited to 'plugins/StopSpamPlus/src/events.cpp')
-rw-r--r--plugins/StopSpamPlus/src/events.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/StopSpamPlus/src/events.cpp b/plugins/StopSpamPlus/src/events.cpp
index 27c44c374b..a854f547a0 100644
--- a/plugins/StopSpamPlus/src/events.cpp
+++ b/plugins/StopSpamPlus/src/events.cpp
@@ -34,7 +34,7 @@ int OnDbEventAdded(WPARAM, LPARAM lParam)
CallProtoService(dbei.szModule, PS_AUTHDENY, hDbEvent, (LPARAM)_T2A(variables_parse(g_sets.getReply(), hcntct).c_str()));
db_set_b(hcntct, "CList", "NotOnList", 1);
- Clist_HideContact(hcntct);
+ Contact_Hide(hcntct);
if (!g_sets.HistLog)
db_event_delete(0, hDbEvent);
return 1;
@@ -105,7 +105,7 @@ int OnDbEventFilterAdd(WPARAM w, LPARAM l)
// if message equal right answer...
if (g_sets.AnswNotCaseSens ? !mir_wstrcmpi(message.c_str(), answer.c_str()) : !mir_wstrcmp(message.c_str(), answer.c_str())) {
// unhide contact
- Clist_HideContact(hContact, false);
+ Contact_Hide(hContact, false);
// mark contact as Answered
g_plugin.setByte(hContact, DB_KEY_ANSWERED, 1);
@@ -147,7 +147,7 @@ int OnDbEventFilterAdd(WPARAM w, LPARAM l)
// hide contact from contact list
db_set_b(hContact, "CList", "NotOnList", 1);
- Clist_HideContact(hContact);
+ Contact_Hide(hContact);
// save message from contact
dbei->flags |= DBEF_READ;