From 257ebdc4c22995f8129eacaccaf1cdd48653a299 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 7 Jan 2008 12:57:23 +0000 Subject: Second half of usercount fix.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8656 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/modules') 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::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) -- cgit v1.2.3