]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/main.cpp
Make FJOIN send UUID
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / main.cpp
index 0da85685d069a28f1b2b2d5fdd40667fae87807a..49f490e83127ae89cd2f78d4aac6ec908f33cdc9 100644 (file)
@@ -980,7 +980,7 @@ void ModuleSpanningTree::OnUserJoin(userrec* user, chanrec* channel, bool &silen
                        // new joining permissions for the user.
                        params.push_back(channel->name);
                        params.push_back(ConvToStr(channel->age));
-                       params.push_back(std::string(channel->GetAllPrefixChars(user))+","+std::string(user->nick));
+                       params.push_back(std::string(channel->GetAllPrefixChars(user))+","+std::string(user->uuid));
                        Utils->DoOneToMany(ServerInstance->Config->ServerName,"FJOIN",params);
                        /* First user in, sync the modes for the channel */
                        params.pop_back();