summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/commands.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-08-19 20:36:41 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-28 12:11:33 +0200
commit7432fea968127b606fc029ae462e91d3f30df8a4 (patch)
tree396250c0766372c87e83a73d00e2018ed61cc69a /src/modules/m_spanningtree/commands.h
parent7e7e773d4d43e68c18c19e2ec712f4250e5f756d (diff)
m_spanningtree Propagate topic changes via FTOPIC in order to prevent desync when two TOPIC messages cross
TOPIC is no longer accepted from servers using the new protocol
Diffstat (limited to 'src/modules/m_spanningtree/commands.h')
-rw-r--r--src/modules/m_spanningtree/commands.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/commands.h b/src/modules/m_spanningtree/commands.h
index 007c0f2b0..f15708a9a 100644
--- a/src/modules/m_spanningtree/commands.h
+++ b/src/modules/m_spanningtree/commands.h
@@ -145,8 +145,15 @@ class CommandFMode : public ServerCommand
class CommandFTopic : public ServerCommand
{
public:
- CommandFTopic(Module* Creator) : ServerCommand(Creator, "FTOPIC", 5) { }
+ CommandFTopic(Module* Creator) : ServerCommand(Creator, "FTOPIC", 4, 5) { }
CmdResult Handle(User* user, std::vector<std::string>& params);
+
+ class Builder : public CmdBuilder
+ {
+ public:
+ Builder(Channel* chan);
+ Builder(User* user, Channel* chan);
+ };
};
class CommandFHost : public UserOnlyServerCommand<CommandFHost>