diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-14 20:12:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-14 20:12:09 +0000 |
commit | 59ba10a84e8a1b22e978f9d65e704cf1cddcc33c (patch) | |
tree | 637d6b22ad476c884462e0b782809011abf31fbc | |
parent | 95c25d0335287718422002a85a2e817abeee391c (diff) |
Authentication stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@587 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/inspircd.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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; } } |