changeset 9168:1a446f2a1822

[gaim-migrate @ 9953] SILC passphrase crash fix from Evgueni Gavrilov committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Wed, 02 Jun 2004 13:59:35 +0000
parents 10bdd25f367f
children 3df7197abfe2
files COPYRIGHT src/protocols/silc/chat.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Wed Jun 02 05:38:56 2004 +0000
+++ b/COPYRIGHT	Wed Jun 02 13:59:35 2004 +0000
@@ -53,6 +53,7 @@
 Decklin Foster
 Adam Fritzler
 Max G.
+Evgueni V. Gavrilov
 Ignacy Gawedzki
 Michael Golden
 Ryan C. Gordon
--- a/src/protocols/silc/chat.c	Wed Jun 02 05:38:56 2004 +0000
+++ b/src/protocols/silc/chat.c	Wed Jun 02 13:59:35 2004 +0000
@@ -1081,7 +1081,7 @@
 	   do both 1 and 2 with default keys. */
 
 	/* Call JOIN */
-	if (passphrase)
+	if (passphrase && strlen (passphrase))
 		silc_client_command_call(client, conn, NULL, "JOIN",
 					 channel, passphrase, "-auth", "-founder", NULL);
 	else