1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-22 23:58:52 -05:00

Make the order consistent for load and save

This commit is contained in:
Berke Viktor 2013-05-12 16:02:26 +02:00
parent 9c96528a98
commit 5df669a329

View File

@ -1227,26 +1227,26 @@ servlist_load (void)
case 'P':
net->pass = strdup (buf + 2);
break;
case 'J':
servlist_favchan_add (net, buf + 2);
break;
case 'C':
servlist_command_add (net, buf + 2);
break;
case 'F':
net->flags = atoi (buf + 2);
break;
case 'D':
net->selected = atoi (buf + 2);
case 'L':
net->logintype = atoi (buf + 2);
break;
case 'E':
net->encoding = strdup (buf + 2);
break;
case 'F':
net->flags = atoi (buf + 2);
break;
case 'S': /* new server/hostname for this network */
servlist_server_add (net, buf + 2);
break;
case 'L':
net->logintype = atoi (buf + 2);
case 'C':
servlist_command_add (net, buf + 2);
break;
case 'J':
servlist_favchan_add (net, buf + 2);
break;
case 'D':
net->selected = atoi (buf + 2);
break;
}
}