# HG changeset patch # User Eric Warmenhoven # Date 971555482 0 # Node ID fc1ca0d9c878312121d30887a9f78f04556f5e72 # Parent eacd93d0089a6c0264ab39896049a5ce74c2b1d9 [gaim-migrate @ 1004] add a new user at the login prompt committer: Tailor Script diff -r eacd93d0089a -r fc1ca0d9c878 src/aim.c --- a/src/aim.c Fri Oct 13 22:32:20 2000 +0000 +++ b/src/aim.c Sat Oct 14 20:31:22 2000 +0000 @@ -165,7 +165,12 @@ u = find_user(username); if (!u) { - /* FIXME : add user */ + u = g_new0(struct aim_user, 1); + g_snprintf(u->username, sizeof(u->username), "%s", username); + g_snprintf(u->password, sizeof(u->password), "%s", password); + u->protocol = PROTO_TOC; + u->options = OPT_USR_REM_PASS; + aim_users = g_list_append(aim_users, u); } g_snprintf(u->password, sizeof u->password, "%s", password); save_prefs();