summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/capab.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp
index f76c78f80..ffd7eb80f 100644
--- a/src/modules/m_spanningtree/capab.cpp
+++ b/src/modules/m_spanningtree/capab.cpp
@@ -170,14 +170,14 @@ void TreeSocket::ListDifference(const std::string &one, const std::string &two,
{
if (!values.erase(item))
{
- mleft.push_back(sep);
- mleft.append(item);
+ mright.push_back(sep);
+ mright.append(item);
}
}
for(std::set<std::string>::iterator i = values.begin(); i != values.end(); ++i)
{
- mright.push_back(sep);
- mright.append(*i);
+ mleft.push_back(sep);
+ mleft.append(*i);
}
}