summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-12 16:02:26 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-12 16:02:26 +0200
commit5df669a329813292bdc0f8f69901e58a5fc2bc32 (patch)
tree086086432cf3493871ee6f82545a39ce6e3cdd66 /src/common
parent9c96528a98e786c6d755d32cf981a90138a4e5ee (diff)
Make the order consistent for load and save
Diffstat (limited to 'src/common')
-rw-r--r--src/common/servlist.c24
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;
 			}
 		}