changeset 2560:0417ecaff0e5

[gaim-migrate @ 2573] do them before we remove the plugins, so that you don't get the "this connection's protocol has been ripped out from underneath it" message 10 times. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 19 Oct 2001 21:57:09 +0000
parents e49ab50736bf
children f9bdfca15404
files src/buddy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Fri Oct 19 21:55:46 2001 +0000
+++ b/src/buddy.c	Fri Oct 19 21:57:09 2001 +0000
@@ -1271,11 +1271,11 @@
 	/* first we tell those who have requested it we're quitting */
 	plugin_event(event_quit, 0, 0, 0, 0);
 
+	signoff_all();
 #ifdef GAIM_PLUGINS
 	/* then we remove everyone in a mass suicide */
 	remove_all_plugins();
 #endif
-	signoff_all();
 	system_log(log_quit, NULL, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON);
 #ifdef USE_PERL
 	perl_end();