]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/servercommand.cpp
m_spanningtree Throw an exception on protocol violations instead of returning CMD_INVALID
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / servercommand.cpp
index fe5a38a9e472cc62f4bd6ac1ccb33e1a6256be25..016788f51642d8b3d9cb7deea99665c46f53ab19 100644 (file)
@@ -24,6 +24,7 @@
 ServerCommand::ServerCommand(Module* Creator, const std::string& Name, unsigned int MinParams, unsigned int MaxParams)
        : CommandBase(Creator, Name, MinParams, MaxParams)
 {
+       this->ServiceProvider::DisableAutoRegister();
        ModuleSpanningTree* st = static_cast<ModuleSpanningTree*>(Creator);
        st->CmdManager.AddCommand(this);
 }