From 58206bc71d79816da813ec67c69d5248d5048df7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 3 Feb 2023 08:59:52 +0000 Subject: Allow bouncers to introduce a user as away. --- src/modules/m_spanningtree/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/main.cpp') diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 2a2a80b94..1e94385d5 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -815,7 +815,7 @@ void ModuleSpanningTree::OnDelLine(User* user, XLine* x) void ModuleSpanningTree::OnUserAway(User* user) { - if (IS_LOCAL(user)) + if (IS_LOCAL(user) && user->IsFullyConnected()) CommandAway::Builder(user).Broadcast(); } -- cgit v1.3.1-10-gc9f91