From 42fdbb7234628ff95acdb6f3f1d1d2206ad77334 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 20 Jul 2024 12:31:31 +0100 Subject: Fix broadcasting UID messages to v3 servers. We have to use the compat layer here as broadcast messages do not go through the command builder. --- src/modules/m_spanningtree/netburst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/netburst.cpp') diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp index 77aa73d83..798987975 100644 --- a/src/modules/m_spanningtree/netburst.cpp +++ b/src/modules/m_spanningtree/netburst.cpp @@ -282,7 +282,7 @@ void TreeSocket::SendUsers(BurstState& bs) if (!user->IsFullyConnected()) continue; - this->WriteLine(CommandUID::Builder(user, this->proto_version != PROTO_INSPIRCD_3)); + this->WriteLine(CommandUID::Builder(user)); if (user->IsOper()) this->WriteLine(CommandOpertype::Builder(user, user->oper)); -- cgit v1.3.1-10-gc9f91