Fixed command queue enabling.
authorPekka Riikonen <priikone@silcnet.org>
Tue, 24 Apr 2007 14:59:45 +0000 (14:59 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 24 Apr 2007 14:59:45 +0000 (14:59 +0000)
CHANGES
apps/irssi/src/silc/core/silc-servers.c

diff --git a/CHANGES b/CHANGES
index ef84db9e8f58b47a81451dfd7e0e7dcee6de79d7..5189ee03a2fb99075b7a706aa481f9af13717ec5 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,15 @@
+Tue Apr 24 17:55:24 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed command queue enabling after connecting to server.
+         The comparisons was from after changing to silc_utf8_strcasecmp.
+         Affected file is apps/irssi/src/silc/core/silc-servers.c.
+
+Mon Apr 23 17:20:01 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
+
+       * Do not call TCP network listener callback with any error
+         status, as documented.  Affected file is
+         lib/silcutil/unix/silcunixnet.c.
+
 Sun Apr 22 21:13:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
 
        * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
@@ -20,8 +32,6 @@ Sun Apr 22 21:13:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
        * Added silc_net_get_error_string, silc_net_listener_get_ip and
          silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
 
-       *
-
 Tue Apr 10 15:55:42 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
 
        * Add option --enable-silc-plugin.  Affected files are
index ce5b6e02a66f84917885e4837e4fbd29f3e8441a..96b22dd2a1e1a12ae27668102a2b8cd3626294b9 100644 (file)
@@ -293,10 +293,13 @@ static void silc_connect_cb(SilcClient client,
 
     /* Enable queueing until we have our requested nick */
     if (((opt_nickname &&
-         silc_utf8_strcasecmp(opt_nickname, conn->local_entry->nickname)) ||
+         !silc_utf8_strcasecmp(opt_nickname,
+                               conn->local_entry->nickname)) ||
         (settings_get_str("nick") &&
-         silc_utf8_strcasecmp(settings_get_str("nick"), conn->local_entry->nickname))) &&
-       !silc_utf8_strcasecmp(conn->local_entry->nickname, conn->local_entry->username))
+         !silc_utf8_strcasecmp(settings_get_str("nick"),
+                               conn->local_entry->nickname))) &&
+       silc_utf8_strcasecmp(conn->local_entry->nickname,
+                            conn->local_entry->username))
       silc_queue_enable(conn);
 
     /* Put default attributes */