summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-06 19:26:44 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-06 19:26:44 +0000
commit2a570ec688dc569c1f414853ddd120e52282b5f4 (patch)
tree415a14c3ccca1a9d51e138bbf251e9a7d497f3ae /src
parent0675ffde8d774d9213ca2323faa9fce36c19bf74 (diff)
Fix left/right inversion in ListDifference
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12389 e03df62e-2008-0410-955e-edbf42e46eb7
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);
}
}