]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_check.cpp
(Bigger than it looks, i did this with perl inplace edit) -- commands now take an...
[user/henk/code/inspircd.git] / src / modules / m_check.cpp
index 692a7113a0a9c9f44e2f35d3703a2b54f20fcf3a..b8dc89f7cff2560c0243035fa80b7a548f218192 100644 (file)
@@ -31,7 +31,7 @@ extern InspIRCd* ServerInstance;
 class cmd_check : public command_t
 {
  public:
-       cmd_check() : command_t("CHECK", 'o', 1)
+       cmd_check (InspIRCd* Instance) : command_t(Instance,"CHECK", 'o', 1)
        {
                this->source = "m_check.so";
                syntax = "<nickname>|<ip>|<hostmask>|<channel>";
@@ -189,7 +189,7 @@ class ModuleCheck : public Module
        ModuleCheck(InspIRCd* Me) : Module::Module(Me)
        {
                
-               mycommand = new cmd_check();
+               mycommand = new cmd_check(ServerInstance);
                ServerInstance->AddCommand(mycommand);
        }