From 22e1a6dacc58f31e44b1ec9d4a3f19e55bea3f7b Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 9 Aug 2001 00:50:22 +0000 Subject: [PATCH] /VERSION command and /SV alias now print the version date too. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1732 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- irssi.conf | 2 +- src/fe-common/core/fe-core-commands.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/irssi.conf b/irssi.conf index e4c35b8b..31a3f5be 100644 --- a/irssi.conf +++ b/irssi.conf @@ -59,7 +59,7 @@ aliases = { UMODE = "mode $N"; WC = "window close"; WN = "window new hide"; - SV = "say Irssi $J - http://irssi.org/"; + SV = "say Irssi $J ($V) - http://irssi.org/"; GOTO = "sb goto"; CHAT = "dcc chat"; RUN = "SCRIPT LOAD"; diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c index 9c0fbab8..87515f4d 100644 --- a/src/fe-common/core/fe-core-commands.c +++ b/src/fe-common/core/fe-core-commands.c @@ -95,7 +95,8 @@ static void cmd_version(char *data) if (*data == '\0') { printtext(NULL, NULL, MSGLEVEL_CLIENTNOTICE, - "Client: "PACKAGE" " IRSSI_VERSION); + "Client: "PACKAGE" " IRSSI_VERSION + " ("IRSSI_VERSION_DATE")"); } }