diff src/protocols/silc/chat.c @ 9172:640b82172493

[gaim-migrate @ 9957] This seems scrumdiddlyumptiouser to me. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 03 Jun 2004 04:15:30 +0000
parents 1a446f2a1822
children ac4480944fc3
line wrap: on
line diff
--- 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