diff src/main.c @ 9971:ab5db2c5da79

[gaim-migrate @ 10882] Remove the default prpl, patch from datallah Patch from nosnilmot that might make recent buddies work Someone check my get_proto_smileys function. I feel like it could be better committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 08 Sep 2004 02:33:53 +0000
parents e4a27c9aec4c
children 34bce9529cf4
line wrap: on
line diff
--- a/src/main.c	Wed Sep 08 02:15:18 2004 +0000
+++ b/src/main.c	Wed Sep 08 02:33:53 2004 +0000
@@ -425,19 +425,15 @@
 	return 0;
 }
 
-static void set_first_user(char *name)
+static void set_first_user(const char *name)
 {
 	GaimAccount *account;
 
 	account = gaim_accounts_find(name, NULL);
 
-	if (account == NULL) { /* new user */
-		account = gaim_account_new(name, GAIM_PROTO_DEFAULT);
-		gaim_accounts_add(account);
-	}
-
 	/* Place it as the first user. */
-	gaim_accounts_reorder(account, 0);
+	if (account != NULL)
+		gaim_accounts_reorder(account, 0);
 }
 
 static void