Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3948 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
braindigitalis committed May 11, 2006
1 parent 4df1368 commit 49f8ece
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/modules/m_spanningtree.cpp
Expand Up @@ -3593,16 +3593,17 @@ class ModuleSpanningTree : public Module
params.push_back(":"+std::string(user->fullname));
DoOneToMany(Srv->GetServerName(),"NICK",params);

TreeServer* SourceServer = FindServer(Srv->GetServerName());
// User is Local, change needs to be reflected!
if (user->server)
{
log(DEBUG,"Server name is %s",user->server);
TreeServer* SourceServer = FindServer(user->server);
if (SourceServer)
{
SourceServer->AddUserCount();
}
}
//if (user->server)
//{
// log(DEBUG,"Server name is %s",user->server);
// TreeServer* SourceServer = FindServer(user->server);
// if (SourceServer)
// {
// SourceServer->AddUserCount();
// }
//}

}
}
Expand Down

0 comments on commit 49f8ece

Please sign in to comment.