* ---------------------------------------------------
*/
+#include "inspircd.h"
#include "users.h"
#include "channels.h"
#include "modules.h"
-#include "inspircd.h"
#include "wildcard.h"
/* $ModDesc: Provides the /clones command to retrieve information on a user, channel, or IP address */
std::string clonesstr = "304 " + std::string(user->nick) + " :CLONES";
- long limit = atoi(parameters[0]);
+ unsigned long limit = atoi(parameters[0]);
/*
* Syntax of a /clones reply:
private:
cmd_clones *mycommand;
public:
- ModuleClones(InspIRCd* Me) : Module::Module(Me)
+ ModuleClones(InspIRCd* Me) : Module(Me)
{
mycommand = new cmd_clones(ServerInstance);
};
-extern "C" void * init_module( void )
+extern "C" DllExport void * init_module( void )
{
return new ModuleClonesFactory;
}