summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-07 12:57:23 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-07 12:57:23 +0000
commit257ebdc4c22995f8129eacaccaf1cdd48653a299 (patch)
treed20fda9ad21415f0640b0a37f9fc5aaf9083714e
parent2add2b79ca3152201e325ed75c09e0c9bd0fecc4 (diff)
Second half of usercount fix..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8656 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree/main.cpp5
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)