mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Authentication stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@587 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
95c25d0335
commit
59ba10a84e
@ -6841,19 +6841,19 @@ void handle_link_packet(char* udp_msg, char* udp_host, serverrec *serv)
|
||||
for (int j = 0; j < 255; j++)
|
||||
{
|
||||
log(DEBUG,"Loop %d",j);
|
||||
if (servers[j] != NULL)
|
||||
if (me[j] != NULL)
|
||||
{
|
||||
log(DEBUG,"Server %d not null",j);
|
||||
for (int x = 0; x < servers[j]->connectors.size(); x++)
|
||||
for (int x = 0; x < me[j]->connectors.size(); x++)
|
||||
{
|
||||
log(DEBUG,"Servers are: '%s' '%s'",udp_host,servers[j]->connectors[x].GetServerName().c_str());
|
||||
if (!strcasecmp(servers[j]->connectors[x].GetServerName().c_str(),udp_host))
|
||||
log(DEBUG,"Servers are: '%s' '%s'",udp_host,me[j]->connectors[x].GetServerName().c_str());
|
||||
if (!strcasecmp(me[j]->connectors[x].GetServerName().c_str(),udp_host))
|
||||
{
|
||||
log(DEBUG,"match! process restricted stuff here");
|
||||
// found a valid ircd_connector.
|
||||
// TODO: Fix this so it only lets servers in that are in the
|
||||
// STATE_CONNECTED state!!!
|
||||
process_restricted_commands(token,params,servers[j],serv,udp_host);
|
||||
process_restricted_commands(token,params,me[j],serv,udp_host);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user