#include "users.h"
#include "channels.h"
#include "modules.h"
-#include "helperfuncs.h"
+
#include "inspircd.h"
/* The four core functions - F1 is optimized somewhat */
class cmd_mkpasswd : public command_t
{
public:
- cmd_mkpasswd () : command_t("MKPASSWD", 'o', 1)
+ cmd_mkpasswd (InspIRCd* Instance) : command_t(Instance,"MKPASSWD", 'o', 1)
{
this->source = "m_opermd5.so";
syntax = "<any-text>";
: Module::Module(Me)
{
- mycommand = new cmd_mkpasswd();
+ mycommand = new cmd_mkpasswd(ServerInstance);
ServerInstance->AddCommand(mycommand);
}