diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-05-12 16:02:26 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-05-12 16:02:26 +0200 |
commit | 5df669a329813292bdc0f8f69901e58a5fc2bc32 (patch) | |
tree | 086086432cf3493871ee6f82545a39ce6e3cdd66 /src/common | |
parent | 9c96528a98e786c6d755d32cf981a90138a4e5ee (diff) |
Make the order consistent for load and save
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/servlist.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/common/servlist.c b/src/common/servlist.c index 83815c9f..d9654d77 100644 --- a/src/common/servlist.c +++ b/src/common/servlist.c @@ -1227,26 +1227,26 @@ servlist_load (void) case 'P': net->pass = strdup (buf + 2); break; - case 'J': - servlist_favchan_add (net, buf + 2); + case 'L': + net->logintype = atoi (buf + 2); break; - case 'C': - servlist_command_add (net, buf + 2); + case 'E': + net->encoding = strdup (buf + 2); break; case 'F': net->flags = atoi (buf + 2); break; - case 'D': - net->selected = atoi (buf + 2); - break; - case 'E': - net->encoding = strdup (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; } } |