From 57d7a593cb444941ade06bde7911aaa77d431cc4 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 15 Oct 2013 11:45:00 +0000 Subject: code cleanup registermodule service removed git-svn-id: http://svn.miranda-ng.org/main/trunk@6497 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/src/ircproto.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'protocols/IRCG/src') diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp index 39e92289f3..4c7250951f 100644 --- a/protocols/IRCG/src/ircproto.cpp +++ b/protocols/IRCG/src/ircproto.cpp @@ -190,7 +190,6 @@ static int sttCheckPerform( const char *szSetting, LPARAM lParam ) int CIrcProto::OnModulesLoaded( WPARAM, LPARAM ) { - char szTemp3[256]; NETLIBUSER nlu = {0}; TCHAR name[128]; @@ -211,11 +210,6 @@ int CIrcProto::OnModulesLoaded( WPARAM, LPARAM ) nlu.ptszDescriptiveName = name; hNetlibDCC = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu); - //add as a known module in DB Editor ++ - CallService("DBEditorpp/RegisterSingleModule", (WPARAM)m_szModuleName, 0); - mir_snprintf(szTemp3, sizeof(szTemp3), "%s DCC", m_szModuleName); - CallService("DBEditorpp/RegisterSingleModule", (WPARAM)szTemp3, 0); - if ( ServiceExists("MBot/GetFcnTable")) { CallService(MS_MBOT_REGISTERIRC, 0, (LPARAM)m_szModuleName); m_bMbotInstalled = TRUE; -- cgit v1.2.3