summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-29 19:46:22 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-29 19:46:22 +0000
commitfdd0f45ee313118916288bda9751bc37f18fe28d (patch)
tree2b74802a1cd82e75d4bfc048d88a881d8a56c7bc /src
parent645d9e7838a33e01c58d8a846f6b2687a8e8757d (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/main.cpp5
1 files changed, 2 insertions, 3 deletions
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<std::string> 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!