From ae33908ae948dcb06897b272b5ec90ff166c7d52 Mon Sep 17 00:00:00 2001 From: Jochen Eisinger Date: Tue, 12 Nov 2002 18:46:20 +0000 Subject: [PATCH] Tue Nov 12 19:42:18 CET 2002 Jochen Eisinger * Fixed example in /HELP KEY * Added expando $j which expands to current SILC Client version --- CHANGES | 6 ++++++ apps/irssi/docs/help/in/key.in | 4 ++-- apps/irssi/src/silc/core/silc-expandos.c | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 194a201b..ae5bf3bf 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Tue Nov 12 19:42:18 CET 2002 Jochen Eisinger + + * Fixed example in /HELP KEY + + * Added expando $j which expands to current SILC Client version + Tue Nov 12 19:46:39 EET 2002 Pekka Riikonen * Fixed public key decoding in crypto library. diff --git a/apps/irssi/docs/help/in/key.in b/apps/irssi/docs/help/in/key.in index 92f96999..062c2ad3 100644 --- a/apps/irssi/docs/help/in/key.in +++ b/apps/irssi/docs/help/in/key.in @@ -97,8 +97,8 @@ Examples: Set channel private key to current channel, and list all keys: - /KEY CHANNEL set very_secret_key_this_is - /KEY CHANNEL list + /KEY CHANNEL * set very_secret_key_this_is + /KEY CHANNEL * list /KEY MSG nickname set secretkey /KEY MSG nick set secretkey -responder /KEY MSG foo agreement 10.2.1.7 5000 diff --git a/apps/irssi/src/silc/core/silc-expandos.c b/apps/irssi/src/silc/core/silc-expandos.c index 88af8311..9923cc53 100644 --- a/apps/irssi/src/silc/core/silc-expandos.c +++ b/apps/irssi/src/silc/core/silc-expandos.c @@ -144,10 +144,12 @@ void silc_expandos_init(void) "window changed", EXPANDO_ARG_NONE, "window item changed", EXPANDO_ARG_WINDOW, "nick mode changed", EXPANDO_ARG_WINDOW_ITEM, NULL); + expando_create("j", expando_silc_version, NULL); } void silc_expandos_deinit(void) { + expando_destroy("j", expando_silc_version); expando_destroy("usermode", expando_usermode); expando_destroy("cumode", expando_cumode); expando_destroy("cumode_space", expando_cumode_space); -- 2.24.0