From f9636a2eff46f6829bf9e01c711ab1ba45a7d50a Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 22:40:57 +0000 Subject: So much stuff changed in this one, i forgot most of it. Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dynamic.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/dynamic.cpp') diff --git a/src/dynamic.cpp b/src/dynamic.cpp index c75371a39..23e1e3267 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -29,13 +29,12 @@ using namespace std; #include "inspstring.h" #include "helperfuncs.h" +#include "inspircd.h" #include #include #include -extern InspIRCd* ServerInstance; - -DLLManager::DLLManager(const char *fname) +DLLManager::DLLManager(InspIRCd* ServerInstance, const char *fname) { err = NULL; @@ -183,7 +182,7 @@ bool DLLManager::GetSymbol(void** v, const char* sym_name) #endif -DLLFactoryBase::DLLFactoryBase(const char* fname, const char* symbol) : DLLManager(fname) +DLLFactoryBase::DLLFactoryBase(InspIRCd* Instance, const char* fname, const char* symbol) : DLLManager(Instance, fname) { // try get the factory function if there is no error yet factory_func = 0; -- cgit v1.2.3