From 2a570ec688dc569c1f414853ddd120e52282b5f4 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 6 Feb 2010 19:26:44 +0000 Subject: Fix left/right inversion in ListDifference git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12389 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/capab.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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::iterator i = values.begin(); i != values.end(); ++i) { - mright.push_back(sep); - mright.append(*i); + mleft.push_back(sep); + mleft.append(*i); } } -- cgit v1.2.3