changeset 14669:9d669dc232ad

[gaim-migrate @ 17415] Prevent auto-reconnecting to IRC if the server rejected the account name committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 01 Oct 2006 15:11:55 +0000
parents 79c1c4fe497d
children 11fd4148f9da
files libgaim/protocols/irc/msgs.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/protocols/irc/msgs.c	Sun Oct 01 15:10:48 2006 +0000
+++ b/libgaim/protocols/irc/msgs.c	Sun Oct 01 15:11:55 2006 +0000
@@ -841,6 +841,7 @@
 				  _("Your selected nickname was rejected by the server.  It probably contains invalid characters."));
 
 	} else {
+		gc->wants_to_die = TRUE;
 		gaim_connection_error(gaim_account_get_connection(irc->account),
 				      _("Your selected account name was rejected by the server.  It probably contains invalid characters."));
 	}