updates
[silc.git] / apps / silcd / packet_receive.c
index 310a14dacce32c90267014699b709e16e03b5f0b..9a0a7ba802671f962dc7216466d5dc2f1b7e9b57 100644 (file)
@@ -813,7 +813,7 @@ void silc_server_notify(SilcServer server,
 
        /* Now match the public key we have cached and public key sent.
           They must match. */
-       if (client->data.public_key && 
+       if (client && client->data.public_key && 
            !silc_pkcs_public_key_compare(channel->founder_key,
                                          client->data.public_key)) {
          mode &= ~SILC_CHANNEL_UMODE_CHANFO;