summary refs log tree commit diff stats
path: root/src/common/servlist.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-11 20:09:07 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-11 20:09:07 +0200
commit0badd9b874b2bd7ebbeb4209cbbc3fc0c9ce8899 (patch)
tree55d1368a2d2fb88ccd6081f7eecd0e44dec43946 /src/common/servlist.c
parentaf03fa3c7c78ce51017c9e71369e637d91f95208 (diff)
Remove dead code
Diffstat (limited to 'src/common/servlist.c')
-rw-r--r--src/common/servlist.c12
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':