diff options
| author | 2016-03-29 16:28:01 +0200 | |
|---|---|---|
| committer | 2016-03-29 16:28:01 +0200 | |
| commit | a7dedb347b7dcd26ce93d4af81e77cfa3cf82d0f (patch) | |
| tree | 391004f3fcf9eab6486a9758f38254b0b9cb828d /src/modules/m_spanningtree/commands.h | |
| parent | m_spanningtree Add class SpanningTree::RemoteUser (diff) | |
m_spanningtree Add NUM command handler
Diffstat (limited to 'src/modules/m_spanningtree/commands.h')
| -rw-r--r-- | src/modules/m_spanningtree/commands.h | 9 |
1 files changed, 9 insertions, 0 deletions
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<CommandSInfo> }; }; +class CommandNum : public ServerOnlyServerCommand<CommandNum> +{ + public: + CommandNum(Module* Creator) : ServerOnlyServerCommand<CommandNum>(Creator, "NUM", 3) { } + CmdResult HandleServer(TreeServer* server, std::vector<std::string>& parameters); + RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters); +}; + class SpanningTreeCommands { public: @@ -401,5 +409,6 @@ class SpanningTreeCommands CommandSNONotice snonotice; CommandEndBurst endburst; CommandSInfo sinfo; + CommandNum num; SpanningTreeCommands(ModuleSpanningTree* module); }; |
