Mercurial > pidgin.yaz
diff src/protocols/irc/cmds.c @ 11763:ddb7520d57bd
[gaim-migrate @ 14054]
sf patch #1328104, from Will Thompson
His patch actually changed the prpl preference for IRC Quit messages
into an account preference. I applied his changes... but I commented
out the account preference part (so the IRC quit message is no longer
customizable).
We'll see how this goes
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 23 Oct 2005 21:07:29 +0000 |
parents | 17142948653e |
children | 39734dd473e0 |
line wrap: on
line diff
--- a/src/protocols/irc/cmds.c Sun Oct 23 21:06:17 2005 +0000 +++ b/src/protocols/irc/cmds.c Sun Oct 23 21:07:29 2005 +0000 @@ -365,7 +365,12 @@ char *buf; if (!irc->quitting) { - buf = irc_format(irc, "v:", "QUIT", (args && args[0]) ? args[0] : gaim_prefs_get_string("/plugins/prpl/irc/quitmsg")); + /* + * Use gaim_account_get_string(irc->account, "quitmsg", IRC_DEFAULT_QUIT) + * and uncomment the appropriate account preference in irc.c if we + * decide we want custom quit messages. + */ + buf = irc_format(irc, "v:", "QUIT", (args && args[0]) ? args[0] : IRC_DEFAULT_QUIT); irc_send(irc, buf); g_free(buf);