# HG changeset patch # User Mark Doliner # Date 1086236130 0 # Node ID 640b8217249320d6050162875bd518b967d63967 # Parent 66027eb31f97ccf7f98f4f09c420f9f74d536bca [gaim-migrate @ 9957] This seems scrumdiddlyumptiouser to me. committer: Tailor Script diff -r 66027eb31f97 -r 640b82172493 src/protocols/silc/chat.c --- a/src/protocols/silc/chat.c Thu Jun 03 03:18:22 2004 +0000 +++ b/src/protocols/silc/chat.c Thu Jun 03 04:15:30 2004 +0000 @@ -1081,7 +1081,7 @@ do both 1 and 2 with default keys. */ /* Call JOIN */ - if (passphrase && strlen (passphrase)) + if ((passphrase != NULL) && (*passphrase != '\0')) silc_client_command_call(client, conn, NULL, "JOIN", channel, passphrase, "-auth", "-founder", NULL); else