From 6c37b451cd2bb948d562cb00354bdc7a7dc400da Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sun, 27 Jul 2014 18:56:12 +0200 Subject: m_spanningtree Parse additional information present in SERVER messages Format: [=] --- src/modules/m_spanningtree/commands.h | 6 ++++++ 1 file changed, 6 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 a5fc1164e..c26d5d7ae 100644 --- a/src/modules/m_spanningtree/commands.h +++ b/src/modules/m_spanningtree/commands.h @@ -305,12 +305,18 @@ class CommandSave : public ServerCommand class CommandServer : public ServerOnlyServerCommand { + static void HandleExtra(TreeServer* newserver, const std::vector& params); + public: CommandServer(Module* Creator) : ServerOnlyServerCommand(Creator, "SERVER", 3) { } CmdResult HandleServer(TreeServer* server, std::vector& parameters); class Builder : public CmdBuilder { + void push_property(const char* key, const std::string& val) + { + push(key).push_raw('=').push_raw(val); + } public: Builder(TreeServer* server); }; -- cgit v1.2.3