changeset 2832:e0eeda0a9ab9

[gaim-migrate @ 2845] my 60th birthday. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 02 Dec 2001 08:33:13 +0000
parents cf50045c0167
children cdbe6e2f0ff2
files src/conversation.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Sun Dec 02 07:49:27 2001 +0000
+++ b/src/conversation.c	Sun Dec 02 08:33:13 2001 +0000
@@ -925,10 +925,10 @@
 			do_error_dialog(_("Unable to send message: too large"), _("Message Error"));
 		else
 			do_error_dialog(_("Unable to send message: Unknown reason"), _("Message Error"));
-	} else if (err > 0) {
+	} else {
 		gtk_editable_delete_text(GTK_EDITABLE(c->entry), 0, -1);
 
-		if (away_options & OPT_AWAY_BACK_ON_IM) {
+		if ((err > 0) && (away_options & OPT_AWAY_BACK_ON_IM)) {
 			if (awaymessage != NULL) {
 				do_im_back();
 			} else if (c->gc->away) {