From 5161fd3fe53b85f579cfece81e25b562f1fa56ae Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Sep 2012 11:50:15 +0000 Subject: - event code standardization for protocols - fix for EVENTTYPE_AUTHREQUEST processing - protocols' custom CallService core removed git-svn-id: http://svn.miranda-ng.org/main/trunk@1576 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/ircproto.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'protocols/IRCG') diff --git a/protocols/IRCG/ircproto.cpp b/protocols/IRCG/ircproto.cpp index b81880247e..9ff2a1c851 100644 --- a/protocols/IRCG/ircproto.cpp +++ b/protocols/IRCG/ircproto.cpp @@ -656,8 +656,7 @@ int __cdecl CIrcProto::RecvContacts( HANDLE, PROTORECVEVENT* ) int __cdecl CIrcProto::RecvFile( HANDLE hContact, PROTORECVFILET* evt ) { - CCSDATA ccs = { hContact, PSR_FILE, 0, ( LPARAM )evt }; - return CallService( MS_PROTO_RECVFILET, 0, ( LPARAM )&ccs ); + return Proto_RecvFile(hContact, evt); } //////////////////////////////////////////////////////////////////////////////////////// @@ -665,8 +664,7 @@ int __cdecl CIrcProto::RecvFile( HANDLE hContact, PROTORECVFILET* evt ) int __cdecl CIrcProto::RecvMsg( HANDLE hContact, PROTORECVEVENT* evt ) { - CCSDATA ccs = { hContact, PSR_MESSAGE, 0, ( LPARAM )evt }; - return CallService( MS_PROTO_RECVMSG, 0, ( LPARAM )&ccs ); + return Proto_RecvMessage(hContact, evt); } //////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3