diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-05-11 20:09:07 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-05-11 20:09:07 +0200 |
commit | 0badd9b874b2bd7ebbeb4209cbbc3fc0c9ce8899 (patch) | |
tree | 55d1368a2d2fb88ccd6081f7eecd0e44dec43946 | |
parent | af03fa3c7c78ce51017c9e71369e637d91f95208 (diff) |
Remove dead code
-rw-r--r-- | src/common/servlist.c | 12 |
1 files changed, 0 insertions, 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': |