diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-07 20:42:18 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-07 20:42:18 +0000 |
commit | 233402b05c036aeb396af6ee27bf43f7405adb97 (patch) | |
tree | 61a4cddc05b8f814aa8bedd9436d0403d764ae31 /src/inspircd.cpp | |
parent | 7548a18e4c2fa474ec4bd370c483bd991fafaa00 (diff) |
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
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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 |