Mercurial > pidgin
diff src/protocols/irc/cmds.c @ 11073:634fec5ed0f2
[gaim-migrate @ 13082]
sf patch #1235304, from Lalo Martins
Allow for custom IRC quit messages. I hope Ethan doesn't kill me.
Also, I couldn't get quit messages to work for me before OR after
this patch. I tried using "/quit" and Buddies->Quit in the buddy
list. What was I doing wrong?
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sat, 09 Jul 2005 19:19:53 +0000 |
| parents | f43113333717 |
| children | 17142948653e |
line wrap: on
line diff
--- a/src/protocols/irc/cmds.c Sat Jul 09 18:54:43 2005 +0000 +++ b/src/protocols/irc/cmds.c Sat Jul 09 19:19:53 2005 +0000 @@ -365,7 +365,7 @@ char *buf; if (!irc->quitting) { - buf = irc_format(irc, "v:", "QUIT", (args && args[0]) ? args[0] : "Download Gaim: " GAIM_WEBSITE); + buf = irc_format(irc, "v:", "QUIT", (args && args[0]) ? args[0] : gaim_prefs_get_string("/plugins/prpl/irc/quitmsg")); irc_send(irc, buf); g_free(buf);
