Remove JOIN sending, all should be FJOIN

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9651 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2008-05-05 21:21:13 +00:00
parent d832f4b250
commit 3b2aed3757

View File

@ -577,8 +577,6 @@ void ModuleSpanningTree::OnUserJoin(User* user, Channel* channel, bool sync, boo
{
// Only do this for local users
if (IS_LOCAL(user))
{
if (channel->GetUserCounter() == 1)
{
std::deque<std::string> params;
// set up their permissions and the channel TS with FJOIN.
@ -590,14 +588,6 @@ void ModuleSpanningTree::OnUserJoin(User* user, Channel* channel, bool sync, boo
params.push_back(ServerInstance->Modes->ModeString(user, channel, false)+","+std::string(user->uuid));
Utils->DoOneToMany(ServerInstance->Config->GetSID(),"FJOIN",params);
}
else
{
std::deque<std::string> params;
params.push_back(channel->name);
params.push_back(ConvToStr(channel->age));
Utils->DoOneToMany(user->uuid,"JOIN",params);
}
}
}
void ModuleSpanningTree::OnChangeHost(User* user, const std::string &newhost)