mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Use MODULE_INIT here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7970 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
609261cf05
commit
f1087b785d
@ -117,26 +117,5 @@ class ModuleSSLModes : public Module
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class ModuleSSLModesFactory : public ModuleFactory
|
MODULE_INIT(ModuleSSLModes);
|
||||||
{
|
|
||||||
public:
|
|
||||||
ModuleSSLModesFactory()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
~ModuleSSLModesFactory()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual Module* CreateModule(InspIRCd* Me)
|
|
||||||
{
|
|
||||||
return new ModuleSSLModes(Me);
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
extern "C" DllExport void * init_module( void )
|
|
||||||
{
|
|
||||||
return new ModuleSSLModesFactory;
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user