Mercurial > pidgin
diff src/protocols/silc/chat.c @ 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 | 095731b5e4f6 |
| children | 640b82172493 |
line wrap: on
line diff
--- 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
