diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 34af202fd..d6e809221 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -63,6 +63,11 @@ ModuleSpanningTree::ModuleSpanningTree(InspIRCd* Me) I_OnStats, I_ProtoSendMetaData, I_OnEvent, I_OnSetAway, I_OnCancelAway, I_OnPostCommand }; ServerInstance->Modules->Attach(eventlist, this, 29); + + for (std::vector<User*>::const_iterator i = this->local_users.begin(); i != this->local_users.end(); i++) + { + this->OnPostConnect((*i)); + } } void ModuleSpanningTree::ShowLinks(TreeServer* Current, User* user, int hops) |