From a7dedb347b7dcd26ce93d4af81e77cfa3cf82d0f Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 29 Mar 2016 16:28:01 +0200 Subject: m_spanningtree Add NUM command handler --- src/modules/m_spanningtree/commands.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/modules/m_spanningtree/commands.h') diff --git a/src/modules/m_spanningtree/commands.h b/src/modules/m_spanningtree/commands.h index 1f7456426..a65639434 100644 --- a/src/modules/m_spanningtree/commands.h +++ b/src/modules/m_spanningtree/commands.h @@ -369,6 +369,14 @@ class CommandSInfo : public ServerOnlyServerCommand }; }; +class CommandNum : public ServerOnlyServerCommand +{ + public: + CommandNum(Module* Creator) : ServerOnlyServerCommand(Creator, "NUM", 3) { } + CmdResult HandleServer(TreeServer* server, std::vector& parameters); + RouteDescriptor GetRouting(User* user, const std::vector& parameters); +}; + class SpanningTreeCommands { public: @@ -401,5 +409,6 @@ class SpanningTreeCommands CommandSNONotice snonotice; CommandEndBurst endburst; CommandSInfo sinfo; + CommandNum num; SpanningTreeCommands(ModuleSpanningTree* module); }; -- cgit v1.3.1-10-gc9f91