summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;
 			}
 		}