]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modmanager_static.cpp
Allow for skipping clone checking before DNS is complete.
[user/henk/code/inspircd.git] / src / modmanager_static.cpp
index c82ee3f7ae3e901f38e7c01249d695741bc7f666..44c36919bbb606dd16f031fd9a97a237d2af19ba 100644 (file)
@@ -58,7 +58,7 @@ class AllModule : public Module
                        {
                                Command* c = (*i)(this);
                                cmds.push_back(c);
-                               ServerInstance->AddCommand(c);
+                               ServerInstance->Modules->AddService(*c);
                        }
                }
                catch (...)