summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/commandbuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/commandbuilder.h')
-rw-r--r--src/modules/m_spanningtree/commandbuilder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/commandbuilder.h b/src/modules/m_spanningtree/commandbuilder.h
index 4bbb60e47..ec9533f2e 100644
--- a/src/modules/m_spanningtree/commandbuilder.h
+++ b/src/modules/m_spanningtree/commandbuilder.h
@@ -36,10 +36,10 @@ class CmdBuilder
push(cmd);
}
- CmdBuilder(const std::string& src, const char* cmd)
+ CmdBuilder(TreeServer* src, const char* cmd)
: content(1, ':')
{
- content.append(src);
+ content.append(src->GetID());
push(cmd);
}