diff options
| author | 2023-02-03 09:03:19 +0000 | |
|---|---|---|
| committer | 2023-02-03 09:03:19 +0000 | |
| commit | 68c2629ec1828d58e183c69894536b1faea8c047 (patch) | |
| tree | 675876e0f6b79f2c60e3508c5856048be58f1cde /src/modules/m_spanningtree/main.cpp | |
| parent | Bump turtlebrowser/get-conan from 1.1 to 1.2 (diff) | |
Fix missing some data when synchronising a new user over a link.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index b1ecefbfb..e0d781c35 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -486,6 +486,12 @@ void ModuleSpanningTree::OnUserConnect(LocalUser* user) if (user->IsOper()) CommandOpertype::Builder(user).Broadcast(); + if (user->IsAway()) + CommandAway::Builder(user).Broadcast(); + + if (user->uniqueusername) // TODO: convert this to BooleanExtItem in v4. + CommandMetadata::Builder(user, "uniqueusername", "1").Broadcast(); + for(Extensible::ExtensibleStore::const_iterator i = user->GetExtList().begin(); i != user->GetExtList().end(); i++) { ExtensionItem* item = i->first; |
