Revision: 16289
Author: thekingant
Date: 2006-06-18 23:39:11 -0700 (Sun, 18 Jun 2006)
ViewCVS: http://svn.sourceforge.net/gaim/?rev=16289&view=rev
Log Message:
-----------
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.
Modified Paths:
--------------
branches/v2_0_0/src/protocols/irc/cmds.c
Modified: branches/v2_0_0/src/protocols/irc/cmds.c
===================================================================
--- branches/v2_0_0/src/protocols/irc/cmds.c 2006-06-19 06:38:12 UTC (rev 16288)
+++ branches/v2_0_0/src/protocols/irc/cmds.c 2006-06-19 06:39:11 UTC (rev 16289)
@@ -372,6 +372,8 @@
g_free(buf);
irc->quitting = TRUE;
+
+ gaim_account_set_status(irc->account, "offline", TRUE, NULL);
}
return 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|