From 3bb16e798cb51d5764aacbefd4edf26f52d8c4f0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Dec 2019 16:08:03 +0300 Subject: GetContactProto: useless duplicate function replaced with standard Proto_GetBaseAccountName --- plugins/StartupSilence/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/StartupSilence/src') diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp index 5a2241f494..cb614e60de 100644 --- a/plugins/StartupSilence/src/main.cpp +++ b/plugins/StartupSilence/src/main.cpp @@ -129,7 +129,7 @@ int DisablePopup(WPARAM wParam, LPARAM) { MCONTACT hContact = wParam; if (hContact != NULL) { - char* cp = GetContactProto(hContact); + char* cp = Proto_GetBaseAccountName(hContact); if (!mir_strcmp(cp, "Weather") || !mir_strcmp(cp, "mRadio")) return 0; return 1; -- cgit v1.2.3