From 0badd9b874b2bd7ebbeb4209cbbc3fc0c9ce8899 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 11 May 2013 20:09:07 +0200 Subject: Remove dead code --- src/common/servlist.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/common/servlist.c b/src/common/servlist.c index ed822925..79591331 100644 --- a/src/common/servlist.c +++ b/src/common/servlist.c @@ -1130,18 +1130,6 @@ servlist_load (void) net->autojoin = strdup (buf + 2); break; 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); break; case 'F': -- cgit 1.4.1