Fixed New Channel packet handling when received with List flag.
[silc.git] / apps / silcd / packet_send.c
index 65637c159c79e73438fa85cf8e658e8f0a7173df..dbf8fb773a6ce8cb9dae5df7c5587f916009c328 100644 (file)
@@ -97,7 +97,8 @@ void silc_server_packet_send(SilcServer server,
     return;
 
   /* If entry is disabled do not sent anything. */
-  if ((idata && idata->status & SILC_IDLIST_STATUS_DISABLED) ||
+  if ((idata && idata->status & SILC_IDLIST_STATUS_DISABLED &&
+       type != SILC_PACKET_HEARTBEAT) ||
       sock->user_data == server->id_entry) {
     SILC_LOG_DEBUG(("Connection is disabled"));
     return;