From 7548a18e4c2fa474ec4bd370c483bd991fafaa00 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 7 Aug 2006 20:14:03 +0000 Subject: Change symbol back git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4771 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/dynamic.h | 2 +- src/modules/m_devoice.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dynamic.h b/include/dynamic.h index 98deaf761..937005e11 100644 --- a/include/dynamic.h +++ b/include/dynamic.h @@ -67,7 +67,7 @@ template class DLLFactory : public DLLFactoryBase public: DLLFactory(const char *fname, const char *func_name=0) : DLLFactoryBase(fname,func_name) { - if (!err && factory_func) + if (factory_func) factory = (T*)factory_func(); else factory = 0; diff --git a/src/modules/m_devoice.cpp b/src/modules/m_devoice.cpp index 713dc2788..346132eaa 100644 --- a/src/modules/m_devoice.cpp +++ b/src/modules/m_devoice.cpp @@ -100,7 +100,7 @@ class ModuleDeVoiceFactory : public ModuleFactory }; -extern "C" void * crud_u_like( void ) +extern "C" void * init_module( void ) { return new ModuleDeVoiceFactory; } -- cgit v1.2.3