diff options
| author | 2023-02-03 08:59:52 +0000 | |
|---|---|---|
| committer | 2023-02-03 09:11:01 +0000 | |
| commit | 58206bc71d79816da813ec67c69d5248d5048df7 (patch) | |
| tree | f59562798a5648d428984e5af3ec9651a171e7e5 /src/modules/m_spanningtree/main.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Allow bouncers to introduce a user as away.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |
