/[cvs]/eggdrop1.4/src/botnet.c
ViewVC logotype

Diff of /eggdrop1.4/src/botnet.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4 by arthur2, Tue Oct 26 08:08:40 1999 UTC revision 1.5 by guppy, Tue Dec 7 20:58:38 1999 UTC
# Line 930  int botlink(char *linker, int idx, char Line 930  int botlink(char *linker, int idx, char
930        dcc[i].u.bot->port = dcc[i].port;     /* remember where i started */        dcc[i].u.bot->port = dcc[i].port;     /* remember where i started */
931        dcc[i].sock = getsock(SOCK_STRONGCONN);        dcc[i].sock = getsock(SOCK_STRONGCONN);
932        dcc[i].user = u;        dcc[i].user = u;
933        if (open_telnet_raw(dcc[i].sock, bi->address, dcc[i].port) >= 0)        if (open_telnet_raw(dcc[i].sock, bi->address, dcc[i].port) < 0)
     return 1;  
934        failed_link(i);        failed_link(i);
935          return 1;
936      }      }
937    }    }
938    return 0;    return 0;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23