summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.cpp
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-20 00:27:21 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-20 00:27:21 +0000
commitd46b25331c68c0cf1b636581d35b27f6a860518a (patch)
treede0276ea13220fed453d44b989880e6bb964723a /src/modules/m_spanningtree/utils.cpp
parentf5979244c7bb5d47e098cae881fba59b7fcb0ce8 (diff)
Revert this back to previous.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6816 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/utils.cpp')
-rw-r--r--src/modules/m_spanningtree/utils.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp
index 30252e303..923308de0 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -298,8 +298,7 @@ bool SpanningTreeUtilities::DoOneToAllButSender(const std::string &prefix, const
unsigned int words = params.size();
for (unsigned int x = 0; x < words; x++)
{
- if (!params[x].empty())
- FullLine = FullLine + " " + params[x];
+ FullLine = FullLine + " " + params[x];
}
unsigned int items = this->TreeRoot->ChildCount();
for (unsigned int x = 0; x < items; x++)
@@ -325,8 +324,7 @@ bool SpanningTreeUtilities::DoOneToMany(const std::string &prefix, const std::st
unsigned int words = params.size();
for (unsigned int x = 0; x < words; x++)
{
- if (!params[x].empty())
- FullLine = FullLine + " " + params[x];
+ FullLine = FullLine + " " + params[x];
}
unsigned int items = this->TreeRoot->ChildCount();
for (unsigned int x = 0; x < items; x++)