Remove dead code
This commit is contained in:
parent
af03fa3c7c
commit
0badd9b874
|
@ -1130,18 +1130,6 @@ servlist_load (void)
|
||||||
net->autojoin = strdup (buf + 2);
|
net->autojoin = strdup (buf + 2);
|
||||||
break;
|
break;
|
||||||
case 'C':
|
case 'C':
|
||||||
/*if (net->command)
|
|
||||||
{
|
|
||||||
// concat extra commands with a \n separator
|
|
||||||
tmp = net->command;
|
|
||||||
net->command = malloc (strlen (tmp) + strlen (buf + 2) + 2);
|
|
||||||
strcpy (net->command, tmp);
|
|
||||||
strcat (net->command, "\n");
|
|
||||||
strcat (net->command, buf + 2);
|
|
||||||
free (tmp);
|
|
||||||
} else
|
|
||||||
net->command = strdup (buf + 2);
|
|
||||||
*/
|
|
||||||
servlist_command_add (net, buf + 2);
|
servlist_command_add (net, buf + 2);
|
||||||
break;
|
break;
|
||||||
case 'F':
|
case 'F':
|
||||||
|
|
Loading…
Reference in New Issue