From fdd0f45ee313118916288bda9751bc37f18fe28d Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 29 Aug 2007 19:46:22 +0000 Subject: We really should SEND it too, if we're looking for it... :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7989 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index f0ba16cbb..07a2f5ea3 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -1042,19 +1042,18 @@ void ModuleSpanningTree::OnUserPart(userrec* user, chanrec* channel, const std:: void ModuleSpanningTree::OnUserConnect(userrec* user) { - char agestr[MAXBUF]; if (IS_LOCAL(user)) { std::deque params; - snprintf(agestr,MAXBUF,"%lu",(unsigned long)user->age); params.push_back(user->uuid); - params.push_back(agestr); + params.push_back(ConvToStr(user->age)); params.push_back(user->nick); params.push_back(user->host); params.push_back(user->dhost); params.push_back(user->ident); params.push_back("+"+std::string(user->FormatModes())); params.push_back(user->GetIPString()); + params.push_back(ConvToStr(user->signon)); params.push_back(":"+std::string(user->fullname)); Utils->DoOneToMany(ServerInstance->Config->GetSID(), "UID", params); // User is Local, change needs to be reflected! -- cgit v1.2.3