aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-07-23 18:30:11 +0100
committerGravatar Sadie Powell2021-07-23 18:30:45 +0100
commit11bc5f43fed5893223bf053df40f7021399a8dc7 (patch)
treef05b1d2ac5376f7055edd668a6df70f651f085b0 /src/modules
parentDrop support for Debian GNU/kFreeBSD. (diff)
Purge SpanningTreeUtilities::DoOneToMany.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/commandbuilder.h2
-rw-r--r--src/modules/m_spanningtree/utils.h8
2 files changed, 1 insertions, 9 deletions
diff --git a/src/modules/m_spanningtree/commandbuilder.h b/src/modules/m_spanningtree/commandbuilder.h
index 153c7f8c9..36eebd9c2 100644
--- a/src/modules/m_spanningtree/commandbuilder.h
+++ b/src/modules/m_spanningtree/commandbuilder.h
@@ -165,7 +165,7 @@ class CmdBuilder
void Broadcast() const
{
- Utils->DoOneToMany(*this);
+ Utils->DoOneToAllButSender(*this, nullptr);
}
void Forward(TreeServer* omit) const
diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h
index 0997d8772..95d392196 100644
--- a/src/modules/m_spanningtree/utils.h
+++ b/src/modules/m_spanningtree/utils.h
@@ -132,10 +132,6 @@ class SpanningTreeUtilities : public Cullable
*/
void DoOneToAllButSender(const CmdBuilder& params, TreeServer* omit);
- /** Send a message from this server to all others
- */
- void DoOneToMany(const CmdBuilder& params);
-
/** Read the spanningtree module's tags from the config file
*/
void ReadConfiguration();
@@ -184,7 +180,3 @@ class SpanningTreeUtilities : public Cullable
void SendListLimits(Channel* chan, TreeSocket* sock = nullptr);
};
-inline void SpanningTreeUtilities::DoOneToMany(const CmdBuilder& params)
-{
- DoOneToAllButSender(params, NULL);
-}