diff src/protocols/irc/irc.c @ 12210:5ae6ab7846a5

[gaim-migrate @ 14512] IRC users might want to be able to return from away, maybe? Capital T's are in short supply; so we need to conserve them. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 24 Nov 2005 13:00:13 +0000
parents cbebda5f019c
children 4d3119205a33
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Thu Nov 24 12:55:22 2005 +0000
+++ b/src/protocols/irc/irc.c	Thu Nov 24 13:00:13 2005 +0000
@@ -452,6 +452,8 @@
 		if ((args[0] == NULL) || (*args[0] == '\0'))
 			args[0] = _("Away");
 		irc_cmd_away(irc, "away", NULL, args);
+	} else if (!strcmp(status_id, "available")) {
+		irc_cmd_away(irc, "back", NULL, args);
 	}
 }