* ---------------------------------------------------
*/
+#include "inspircd.h"
#include "users.h"
#include "channels.h"
#include "modules.h"
-#include "inspircd.h"
#include "wildcard.h"
/* $ModDesc: Provides the /check command to retrieve information on a user, channel, or IP address */
};
-
-
-class ModuleCheckFactory : public ModuleFactory
-{
- public:
- ModuleCheckFactory()
- {
- }
-
- ~ModuleCheckFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleCheck(Me);
- }
-
-};
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleCheckFactory;
-}
-
+MODULE_INIT(ModuleCheck)