updates.
[silc.git] / apps / silcd / packet_receive.c
index 3bc50a0ca738a0c51c3297ca040d0bbb03b3a84d..8aa845b91d62dfe3cb605ec1f6c4526f6d8945e4 100644 (file)
@@ -869,8 +869,7 @@ void silc_server_notify(SilcServer server,
 
       /* If the client is one of ours, then close the connection to the
         client now. This removes the client from all channels as well. */
-      if (packet->dst_id_type == SILC_ID_CLIENT && client->data.registered &&
-         client->connection) {
+      if (packet->dst_id_type == SILC_ID_CLIENT && client->connection) {
        sock = client->connection;
        silc_server_free_client_data(server, NULL, client, FALSE, NULL);
        silc_server_close_connection(server, sock);