[gaim-migrate @ 16286]

Mon, 19 Jun 2006 06:27:18 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Mon, 19 Jun 2006 06:27:18 +0000
changeset 13839
e27a7f02055c
parent 13838
171a6a664fdf
child 13840
8ea0f9070d3a

[gaim-migrate @ 16286]
When the /quit command is used on IRC, we disconnect the account.
This avoids having Gaim think the server kicked us offline. And
it avoids Gaim auto-reconnecting.

src/protocols/irc/cmds.c file | annotate | diff | comparison | revisions
--- a/src/protocols/irc/cmds.c	Mon Jun 19 06:23:20 2006 +0000
+++ b/src/protocols/irc/cmds.c	Mon Jun 19 06:27:18 2006 +0000
@@ -372,6 +372,8 @@
 		g_free(buf);
 
 		irc->quitting = TRUE;
+
+		gaim_account_set_status(irc->account, "offline", TRUE, NULL);
 	}
 
 	return 0;

mercurial