changeset 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 66027eb31f97
children b6051a2d3bb5
files src/protocols/silc/chat.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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