summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
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();