/*
* $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.
*
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 {
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:
/*
* $Id$
* $Log$
+ * Revision 1.9 2000/07/19 09:19:05 priikone
+ * Enhancements to AWAY command.
+ *
* Revision 1.8 2000/07/19 07:06:51 priikone
* Added AWAY command.
*
if (!remote_id)
goto out;
+ if (!SILC_ID_CLIENT_COMPARE(remote_id, win->local_id))
+ goto out;
+
/* Check whether we know this client already */
if (!silc_idcache_find_by_id_one(win->client_cache, remote_id,
SILC_ID_CLIENT, &id_cache))
out:
memset(message, 0, buffer->len);
silc_free(message);
+ silc_free(nickname);
}
/*
* $Id$
* $Log$
+ * Revision 1.5 2000/07/19 09:19:05 priikone
+ * Enhancements to AWAY command.
+ *
* Revision 1.4 2000/07/10 05:38:08 priikone
* Fixed screen refresh.
*
SILC_SCREEN_MAX_CHANNEL_LEN : len);
}
+ if (line->away)
+ strncat(buf, " (away)", 8);
+
wattrset(screen->output_stat_line[win_index], A_REVERSE);
for (i = 0; i < COLS - 10; i++)
char *nickname;
char *connection;
char *channel;
+ int away;
} *SilcScreenBottomLine;
typedef struct {
#include "serverincludes.h"
-const char server_version[] = "17072000";
+const char server_version[] = "19072000";
;;
esac
-AM_INIT_AUTOMAKE(silc, 17072000)
+AM_INIT_AUTOMAKE(silc, 19072000)
AC_PREREQ(2.3)
AM_CONFIG_HEADER(includes/silcdefs.h)
AC_CHECK_HEADERS(unistd.h string.h getopt.h errno.h fcntl.h assert.h)
AC_CHECK_HEADERS(sys/types.h sys/stat.h sys/time.h)
AC_CHECK_HEADERS(netinet/in.h netinet/tcp.h netdb.h)
-AC_CHECK_HEADERS(pwd.h grp.h termcap.h)
+AC_CHECK_HEADERS(pwd.h grp.h termcap.h paths.h)
AC_CHECK_HEADERS(ncurses.h signal.h ctype.h)
AC_CHECK_HEADERS(arpa/inet.h sys/mman.h)
;;
*)
AC_MSG_RESULT(no)
- CFLAGS="-O2 $CFLAGS"
+ CFLAGS="-O2 -g $CFLAGS"
;;
-esac ], CFLAGS="-O2 $CFLAGS"
+esac ], CFLAGS="-O2 -g $CFLAGS"
AC_MSG_RESULT(no))
#define SILC_VERSION_1 '\1'
/* SILC version string */
-const char *silc_version = "18072000";
-const char *silc_version_string = "SILC-1.0-18072000";
+const char *silc_version = "19072000";
+const char *silc_version_string = "SILC-1.0-19072000";
const char *silc_name = "SILC";
const char *silc_fullname = "Secure Internet Live Conferencing";