From: hackbard Date: Sun, 9 May 2004 16:39:16 +0000 (+0000) Subject: bugfixed network_set_connection_info arguments X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=7e1daf96d3ccb8927ec0bdaf096c7f561bd29410;p=my-code%2Fivac.git bugfixed network_set_connection_info arguments --- diff --git a/src/ivac.c b/src/ivac.c index ca12131..f4f6952 100644 --- a/src/ivac.c +++ b/src/ivac.c @@ -273,9 +273,7 @@ int ivac_parse_command(t_input *input,void *ptr) { sprintf(c_str,"changed username to %s",ivac->username); } else if((channel>=0)&&(channelnet),channel, - ivac->net.connection[channel].ip, - ivac->net.connection[channel].port); + i=network_set_connection_info(&(ivac->net),channel,arg[2],atoi(arg[3])); if(i==N_E_IN_USE) sprintf(c_str,"channel %02d: connection in use",channel); if(i==N_SUCCESS)