changeset 13837:1a095ac881ce

[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. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 19 Jun 2006 06:27:18 +0000
parents 9af607a0108f
children dd00149f6f9b
files src/protocols/irc/cmds.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;