summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fjoin.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-09 14:50:21 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-09 14:50:21 +0100
commit853bfabbc777a3943f4de0436d87ea09a9863568 (patch)
tree172f53eeb82e6c695110b7638053e3804a4135cc /src/modules/m_spanningtree/fjoin.cpp
parent0e5fb98a6b82af738f6d5c3093d9597d470be3a6 (diff)
m_spanningtree Add source server parameter to CommandFJOIN::Builder constructor
Default it to this server
Diffstat (limited to 'src/modules/m_spanningtree/fjoin.cpp')
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp
index bfe3592d2..f0d804880 100644
--- a/src/modules/m_spanningtree/fjoin.cpp
+++ b/src/modules/m_spanningtree/fjoin.cpp
@@ -237,8 +237,8 @@ void CommandFJoin::LowerTS(Channel* chan, time_t TS, const std::string& newname)
chan->topicset = 0;
}
-CommandFJoin::Builder::Builder(Channel* chan)
- : CmdBuilder("FJOIN")
+CommandFJoin::Builder::Builder(Channel* chan, TreeServer* source)
+ : CmdBuilder(source->GetID(), "FJOIN")
{
push(chan->name).push_int(chan->age).push_raw(" +");
pos = str().size();