From 426e2f9755a14023223e2e3ebfa8e78f6e8677a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Sep 2019 21:32:12 +0300 Subject: fix for a function name: Clist_IsHidden => Contact_IsHidden Clist_HideContact => Contact_Hide --- plugins/StopSpamPlus/src/events.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/StopSpamPlus/src/events.cpp') 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; -- cgit v1.2.3