Relay server connect fixes

This commit is contained in:
Michiel Broek 2006-05-25 20:53:49 +00:00
parent 2c2f6c2404
commit 7ab54ea2f6

View File

@ -1030,8 +1030,7 @@ int command_server(char *hostname, char *parameters)
fullname = strtok(NULL, "\0");
ihops = atoi(hops) + 1;
for (i = 0; i < MAXIBC_SRV; i++) {
Syslog('c', "IBC: test %d \"%s\" \"%s\"", i, ncs_list[i].server, name);
for (i = 0; i < MAXIBC_NCS; i++) {
if (strcmp(ncs_list[i].server, name) == 0) {
found = TRUE;
break;