Mercurial > pidgin.yaz
changeset 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 | 8f8087bc9732 |
children | cc917559894b |
files | src/protocols/irc/irc.c src/protocols/irc/irc.h |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
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); } }
--- a/src/protocols/irc/irc.h Thu Nov 24 12:55:22 2005 +0000 +++ b/src/protocols/irc/irc.h Thu Nov 24 13:00:13 2005 +0000 @@ -163,7 +163,7 @@ int irc_cmd_quote(struct irc_conn *irc, const char *cmd, const char *target, const char **args); int irc_cmd_query(struct irc_conn *irc, const char *cmd, const char *target, const char **args); int irc_cmd_remove(struct irc_conn *irc, const char *cmd, const char *target, const char **args); -int irc_cmd_service(struct irc_conn *irc, const char *cmd, const char *Target, const char **args); +int irc_cmd_service(struct irc_conn *irc, const char *cmd, const char *target, const char **args); int irc_cmd_time(struct irc_conn *irc, const char *cmd, const char *target, const char **args); int irc_cmd_topic(struct irc_conn *irc, const char *cmd, const char *target, const char **args); int irc_cmd_wallops(struct irc_conn *irc, const char *cmd, const char *target, const char **args);