From 7be3108de05393efb69c97a096a50f6094f2a697 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 27 Aug 2007 02:45:35 +0000 Subject: Send UID (not nick) on client connection git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7860 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 5c00a47c7..f8aa54575 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -1036,6 +1036,7 @@ void ModuleSpanningTree::OnUserConnect(userrec* user) { std::deque params; snprintf(agestr,MAXBUF,"%lu",(unsigned long)user->age); + params.push_back(user->uuid); params.push_back(agestr); params.push_back(user->nick); params.push_back(user->host); @@ -1044,7 +1045,7 @@ void ModuleSpanningTree::OnUserConnect(userrec* user) params.push_back("+"+std::string(user->FormatModes())); params.push_back(user->GetIPString()); params.push_back(":"+std::string(user->fullname)); - Utils->DoOneToMany(ServerInstance->Config->ServerName,"NICK",params); + Utils->DoOneToMany(ServerInstance->Config->ServerName, "UID", params); // User is Local, change needs to be reflected! TreeServer* SourceServer = Utils->FindServer(user->server); if (SourceServer) -- cgit v1.2.3