From c6fb861d7159279b6ee4a4dd678d4693ee56bac6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Oct 2012 12:50:40 +0000 Subject: death of old nasty clutch with MS_PROTO_ENUMPROTOCOLS & PROTOACCOUNT::type git-svn-id: http://svn.miranda-ng.org/main/trunk@1799 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ListeningTo/src/listeningto.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/ListeningTo') diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp index de237acb06..1aa54ba0af 100644 --- a/plugins/ListeningTo/src/listeningto.cpp +++ b/plugins/ListeningTo/src/listeningto.cpp @@ -251,7 +251,7 @@ void RegisterProtocol(char *proto, TCHAR *account) int AccListChanged(WPARAM wParam, LPARAM lParam) { PROTOACCOUNT *proto = (PROTOACCOUNT *) lParam; - if (proto == NULL || proto->type != PROTOTYPE_PROTOCOL) + if (proto == NULL) return 0; ProtocolInfo *info = GetProtoInfo(proto->szModuleName); @@ -382,8 +382,6 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) for (int i = 0; i < count; i++) { - if (protos[i]->type != PROTOTYPE_PROTOCOL) - continue; if (!protos[i]->bIsEnabled) continue; -- cgit v1.2.3