summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-27 18:43:30 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-27 18:43:30 +0200
commit6089d1a685114f380cf6838dcff78bc3bb1d3bbd (patch)
tree45d0258ac79a805865bca9a9d3bc17523d909d73 /src/modules
parent465675b124a50e8cbd6a114fd277ea18adcc4d31 (diff)
m_spanningtree Remove post-handshake BURST handler
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/commands.h8
-rw-r--r--src/modules/m_spanningtree/main.cpp2
-rw-r--r--src/modules/m_spanningtree/misccommands.cpp6
3 files changed, 1 insertions, 15 deletions
diff --git a/src/modules/m_spanningtree/commands.h b/src/modules/m_spanningtree/commands.h
index cbe864275..a5fc1164e 100644
--- a/src/modules/m_spanningtree/commands.h
+++ b/src/modules/m_spanningtree/commands.h
@@ -330,13 +330,6 @@ class CommandSNONotice : public ServerCommand
CmdResult Handle(User* user, std::vector<std::string>& parameters);
};
-class CommandBurst : public ServerOnlyServerCommand<CommandBurst>
-{
- public:
- CommandBurst(Module* Creator) : ServerOnlyServerCommand<CommandBurst>(Creator, "BURST") { }
- CmdResult HandleServer(TreeServer* server, std::vector<std::string>& parameters);
-};
-
class CommandEndBurst : public ServerOnlyServerCommand<CommandEndBurst>
{
public:
@@ -387,7 +380,6 @@ class SpanningTreeCommands
CommandServer server;
CommandSQuit squit;
CommandSNONotice snonotice;
- CommandBurst burst;
CommandEndBurst endburst;
CommandSInfo sinfo;
SpanningTreeCommands(ModuleSpanningTree* module);
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index ce13e5d25..c135cd134 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -51,7 +51,7 @@ SpanningTreeCommands::SpanningTreeCommands(ModuleSpanningTree* module)
away(module), addline(module), delline(module), encap(module), idle(module),
nick(module), ping(module), pong(module), push(module), save(module),
server(module), squit(module), snonotice(module),
- burst(module), endburst(module), sinfo(module)
+ endburst(module), sinfo(module)
{
}
diff --git a/src/modules/m_spanningtree/misccommands.cpp b/src/modules/m_spanningtree/misccommands.cpp
index 5b04c73bc..00f31d668 100644
--- a/src/modules/m_spanningtree/misccommands.cpp
+++ b/src/modules/m_spanningtree/misccommands.cpp
@@ -35,12 +35,6 @@ CmdResult CommandSNONotice::Handle(User* user, std::vector<std::string>& params)
return CMD_SUCCESS;
}
-CmdResult CommandBurst::HandleServer(TreeServer* server, std::vector<std::string>& params)
-{
- server->bursting = true;
- return CMD_SUCCESS;
-}
-
CmdResult CommandEndBurst::HandleServer(TreeServer* server, std::vector<std::string>& params)
{
server->FinishBurst();