updates
authorPekka Riikonen <priikone@silcnet.org>
Tue, 5 Jun 2001 12:35:14 +0000 (12:35 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 5 Jun 2001 12:35:14 +0000 (12:35 +0000)
CHANGES
apps/irssi/src/fe-common/silc/module-formats.c
apps/irssi/src/fe-common/silc/module-formats.h
apps/irssi/src/silc/core/client_ops.c

diff --git a/CHANGES b/CHANGES
index 5c7807ad0fec61d4b2a37f529ebc9efea4266589..54b3bed01c3329fe2fafd5574411cd8a4ab68121 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,11 +1,13 @@
 Tue Jun  5 08:08:21 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
 
-       * Merged a splitted window bug from Irssi CVS tree.  The affected
-         file is irssi/src/fe-text/textbuffer-view.c.
+       * Merged a splitted window bugfix from Irssi CVS tree.  The 
+         affected file is irssi/src/fe-text/textbuffer-view.c.
 
        * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
          It did not print nickname.
 
+       * Improved the distributions system a bit.
+
 Mon Jun  4 17:57:16 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
 
        * Merged /WINDOW bugfix from irssi CVS tree. Affected file is
index cbdead77edc507382bc05d2080ed197d3ade1484..3222474e7263ed5b40182cfc6049e8e690768fed 100644 (file)
@@ -31,6 +31,7 @@ FORMAT_REC fecommon_silc_formats[] = {
        { "channel_founder_you", "You are channel founder on {channel $0}", 1, { 0 } },
        { "channel_founder", "channel founder on {channel $0} is: {channick_hilight $1}", 2, { 0, 0 } },
        { "channel_topic", "Topic for {channel $0} is: $1", 2, { 0, 0 } },
+       { "channel_topic_not_set", "Topic for {channel $0} not set", 1, { 0 } },
        { "cmode", "channel mode/{channel $0} {mode $1} by {nick $2}", 3, { 0, 0, 0 } },
        { "cumode", "channel user mode/{channel $0}/{nick $1} {mode $2} by {nick $3}", 4, { 0, 0, 0, 0 } },
        { "action", "{action $0-}", 2, { 0, 0 } },
index 2a4a8a664a1b4e7eaee7405953418d7eedb0b5b0..5b6c08e6314e4386711260833be970db056a105a 100644 (file)
@@ -28,6 +28,7 @@ enum {
   SILCTXT_CHANNEL_FOUNDER_YOU,
   SILCTXT_CHANNEL_FOUNDER,
   SILCTXT_CHANNEL_TOPIC,
+  SILCTXT_CHANNEL_TOPIC_NOT_SET,
   SILCTXT_CHANNEL_CMODE,
   SILCTXT_CHANNEL_CUMODE,
   SILCTXT_CHANNEL_ACTION,
index 7558b9f5e316afe76ea95c34af2eb3c0dfb4ad6b..0a7234c42c658c96ae546b6775aa8fb26540b638 100644 (file)
@@ -678,6 +678,10 @@ silc_command_reply(SilcClient client, SilcClientConnection conn,
        printformat_module("fe-common/silc", server, channel->channel_name,
                           MSGLEVEL_CRAP, SILCTXT_CHANNEL_TOPIC,
                           channel->channel_name, topic);
+      } else {
+       printformat_module("fe-common/silc", server, channel->channel_name,
+                          MSGLEVEL_CRAP, SILCTXT_CHANNEL_TOPIC_NOT_SET,
+                          channel->channel_name);
       }
     }
     break;