From 59ba10a84e8a1b22e978f9d65e704cf1cddcc33c Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Apr 2004 20:12:09 +0000 Subject: Authentication stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@587 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index c0e5ee313..314403375 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -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; } } -- cgit v1.2.3