X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilc%2Fcommand.c;fp=apps%2Fsilc%2Fcommand.c;h=c64f44f932ed4719a1fc0be59b7130d1f76bccab;hb=b0e6c9787c019eee7bc65150b5d67eb795fe5b54;hp=f0d3e18139555f1c2b267d83fde6f4149255de7f;hpb=e8860a13867343c461a91f2ebc483d6edefe9865;p=silc.git diff --git a/apps/silc/command.c b/apps/silc/command.c index f0d3e181..c64f44f9 100644 --- a/apps/silc/command.c +++ b/apps/silc/command.c @@ -20,6 +20,9 @@ /* * $Id$ * $Log$ + * Revision 1.11 2000/07/19 09:19:05 priikone + * Enhancements to AWAY command. + * * Revision 1.10 2000/07/19 07:06:33 priikone * Added AWAY command. * @@ -910,8 +913,10 @@ SILC_CLIENT_CMD_FUNC(away) silc_free(win->away->away); silc_free(win->away); win->away = NULL; + client->screen->bottom_line->away = FALSE; silc_say(client, "Away message removed"); + silc_screen_print_bottom_line(cmd->client->screen, 0); } } else { @@ -920,9 +925,11 @@ SILC_CLIENT_CMD_FUNC(away) else win->away = silc_calloc(1, sizeof(*win->away)); + client->screen->bottom_line->away = TRUE; win->away->away = strdup(cmd->argv[1]); silc_say(client, "Away message set: %s", win->away->away); + silc_screen_print_bottom_line(cmd->client->screen, 0); } out: