changeset 5325:141404465d38

[gaim-migrate @ 5698] Paul A (darkrain) writes: " The new sanity-checking code in serv_set_away makes it impossible to return from away in some cases (when the state is GAIM_AWAY_CUSTOM) This patch fixes the problem." since i hit this bug, fixing it is a good thing ;-) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 07 May 2003 04:36:32 +0000
parents 633067e155f9
children 9737d5ce9dcd
files src/server.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/server.c	Wed May 07 03:41:24 2003 +0000
+++ b/src/server.c	Wed May 07 04:36:32 2003 +0000
@@ -295,6 +295,7 @@
 	GaimPluginProtocolInfo *prpl_info = NULL;
 
 	if (gc->away_state != NULL && state != NULL &&
+		strcmp(gc->away_state, GAIM_AWAY_CUSTOM) &&
 		!strcmp(gc->away_state, state)) {
 
 		return;