From 8af82ecb2b91203e152d9a238bb268527fd4848d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Nov 2012 18:36:28 +0000 Subject: mRadio, RSS, Quotes & YAMN became virtual git-svn-id: http://svn.miranda-ng.org/main/trunk@2542 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/NewsAggregator/Src/NewsAggregator.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/NewsAggregator') diff --git a/protocols/NewsAggregator/Src/NewsAggregator.cpp b/protocols/NewsAggregator/Src/NewsAggregator.cpp index 3ab146ccbb..57795ac15d 100644 --- a/protocols/NewsAggregator/Src/NewsAggregator.cpp +++ b/protocols/NewsAggregator/Src/NewsAggregator.cpp @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2012 Mataes This is free software; you can redistribute it and/or @@ -14,7 +14,7 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this file; see the file license.txt. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. +Boston, MA 02111-1307, USA. */ #include "Common.h" @@ -76,7 +76,7 @@ extern "C" __declspec(dllexport) int Load(void) lstrcpyn(tszRoot, tszFolder, SIZEOF(tszRoot)); mir_free(tszFolder); } - + // Add options hook hOptHook = HookEvent(ME_OPT_INITIALISE, OptInit); hLoadHook = HookEvent(ME_SYSTEM_MODULESLOADED, NewsAggrInit); @@ -88,7 +88,7 @@ extern "C" __declspec(dllexport) int Load(void) // register weather protocol PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE }; pd.szName = MODULE; - pd.type = PROTOTYPE_PROTOCOL; + pd.type = PROTOTYPE_VIRTUAL; CallService(MS_PROTO_REGISTERMODULE,0,(LPARAM)&pd); hProtoService[0] = CreateProtoServiceFunction(MODULE, PS_GETNAME, NewsAggrGetName); -- cgit v1.2.3