summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 02:45:35 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 02:45:35 +0000
commit7be3108de05393efb69c97a096a50f6094f2a697 (patch)
tree2c79822603dbb7894a3065d698b888ba7d0d8a60 /src/modules/m_spanningtree/main.cpp
parenta2456eeec150d3907a1d9b3e7da4f177c3e1b5d3 (diff)
Send UID (not nick) on client connection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7860 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp3
1 files changed, 2 insertions, 1 deletions
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<std::string> 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)