Tue Nov 12 19:42:18 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
authorJochen Eisinger <coffee@silcnet.org>
Tue, 12 Nov 2002 18:46:20 +0000 (18:46 +0000)
committerJochen Eisinger <coffee@silcnet.org>
Tue, 12 Nov 2002 18:46:20 +0000 (18:46 +0000)
* Fixed example in /HELP KEY

* Added expando $j which expands to current SILC Client version

CHANGES
apps/irssi/docs/help/in/key.in
apps/irssi/src/silc/core/silc-expandos.c

diff --git a/CHANGES b/CHANGES
index 194a201bad557f07c11289d2a1d5336af0003859..ae5bf3bfa6e8f791e99efe477adcc62c466a9c58 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,9 @@
+Tue Nov 12 19:42:18 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
+
+       * 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 <priikone@silcnet.org>
 
        * Fixed public key decoding in crypto library.
index 92f9699941d31bc647c071e8a07eb30fa4597648..062c2ad303ca1cb9a8a8a26eb163bdab75b29c74 100644 (file)
@@ -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
index 88af831109b8e37048c393825ec92bab78a0d939..9923cc530405b18413deb7452a8bb0c3628b3104 100644 (file)
@@ -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);