Mercurial > pidgin.yaz
diff src/protocols/irc/irc.c @ 10740:94cc67130789
[gaim-migrate @ 12342]
More big changes, yay.
I combined gaim_connection_new and gaim_connection_connect. Earlier
today I realized that it's dumb to have a GaimConnection that isn't
connected.
I'm about to combine gaim_connection_disconnect and
gaim_connection_destroy, as well.
I added a "password" field to GaimConnection.
It holds the password used to login a specific GaimConnection. Now,
when "remember password" is false, account->password is NEVER set.
When the user tries to sign on and Gaim prompts for the password,
it goes directly into the GaimConnection.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 26 Mar 2005 23:25:18 +0000 |
parents | 55af3fa46329 |
children | c153119be7d0 |
line wrap: on
line diff
--- a/src/protocols/irc/irc.c Sat Mar 26 21:22:53 2005 +0000 +++ b/src/protocols/irc/irc.c Sat Mar 26 23:25:18 2005 +0000 @@ -286,7 +286,7 @@ char hostname[256]; const char *username, *realname; struct irc_conn *irc = gc->proto_data; - const char *pass = gaim_account_get_password(gc->account); + const char *pass = gaim_connection_get_password(gc); if (pass && *pass) { buf = irc_format(irc, "vv", "PASS", pass);