summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/ircproto.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-10-15 11:45:00 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-10-15 11:45:00 +0000
commit57d7a593cb444941ade06bde7911aaa77d431cc4 (patch)
treeee2d415eeaa421c99854173b3755ff7e6ff1a535 /protocols/IRCG/src/ircproto.cpp
parent7e54472de6322d6929874dc8acb66229590d250f (diff)
code cleanup
registermodule service removed git-svn-id: http://svn.miranda-ng.org/main/trunk@6497 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src/ircproto.cpp')
-rw-r--r--protocols/IRCG/src/ircproto.cpp6
1 files changed, 0 insertions, 6 deletions
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;