From 233402b05c036aeb396af6ee27bf43f7405adb97 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 7 Aug 2006 20:42:18 +0000 Subject: The segfaults on missing init_module symbol are now gone, and hopefully not coming back! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4772 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 79435ea58..cd5f74a0a 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -589,7 +589,6 @@ bool InspIRCd::LoadModule(const char* filename) try { ircd_module* a = new ircd_module(modfile); - log(DEBUG,"ircd_module constructor success, MODCOUNT %d",MODCOUNT); factory[MODCOUNT+1] = a; if (factory[MODCOUNT+1]->LastError()) { @@ -597,10 +596,8 @@ bool InspIRCd::LoadModule(const char* filename) snprintf(MODERR,MAXBUF,"Loader/Linker error: %s",factory[MODCOUNT+1]->LastError()); return false; } - log(DEBUG,"No last error"); if ((int)factory[MODCOUNT+1]->factory != -1) { - log(DEBUG,"Factory ptr: %0x",&factory[MODCOUNT+1]->factory); Module* m = factory[MODCOUNT+1]->factory->CreateModule(MyServer); modules[MODCOUNT+1] = m; /* save the module and the module's classfactory, if -- cgit v1.2.3