summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-03-29 12:45:37 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-03-29 12:45:37 +0200
commit6c5ac89f35d49833d7075c1449b2d82ddf7926dc (patch)
tree76b8ccf2d8662b56792fa301d3d184e318661ebf /src
parent11a2e3c46afca0ad74c02872eb398df30d8bdbb9 (diff)
m_spanningtree Remove unused SpanningTreeUtilities::DoOneToOne() overload accepting a string
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/utils.cpp10
-rw-r--r--src/modules/m_spanningtree/utils.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp
index bbda2634d..71855305e 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -191,16 +191,6 @@ void SpanningTreeUtilities::DoOneToAllButSender(const CmdBuilder& params, TreeSe
}
}
-bool SpanningTreeUtilities::DoOneToOne(const CmdBuilder& params, const std::string& target)
-{
- TreeServer* Route = this->BestRouteTo(target);
- if (!Route)
- return false;
-
- DoOneToOne(params, Route);
- return true;
-}
-
void SpanningTreeUtilities::DoOneToOne(const CmdBuilder& params, Server* server)
{
TreeServer* ts = static_cast<TreeServer*>(server);
diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h
index 84637bf01..3c54e93ac 100644
--- a/src/modules/m_spanningtree/utils.h
+++ b/src/modules/m_spanningtree/utils.h
@@ -118,7 +118,6 @@ class SpanningTreeUtilities : public classbase
/** Send a message from this server to one other local or remote
*/
- bool DoOneToOne(const CmdBuilder& params, const std::string& target);
void DoOneToOne(const CmdBuilder& params, Server* target);
/** Send a message from this server to all but one other, local or remote