*/
#include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
/* $ModDesc: Provides support for RFC 1413 ident lookups */
// to NULL and check it so that we dont write users who have gone away.
ident->u = NULL;
ServerInstance->SE->DelFd(ident);
- //delete ident;
}
if (user->GetExt("IDENT", identstr))
{
};
-class ModuleIdentFactory : public ModuleFactory
-{
- public:
- ModuleIdentFactory()
- {
- }
-
- ~ModuleIdentFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleIdent(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleIdentFactory;
-}
-
+MODULE_INIT(ModuleIdent)