X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fserver.c;fp=apps%2Fsilcd%2Fserver.c;h=8093acf63705c93770bae467c9b235ee6a535e29;hp=9f68e5b8f4fd869ea3f6ff407652e432b4ea4a52;hb=c4c99b76fe5967546b59e0f0560baae3adb28cc5;hpb=ae4a77c15633b8e4acad7b185236afa319a132dc diff --git a/apps/silcd/server.c b/apps/silcd/server.c index 9f68e5b8..8093acf6 100644 --- a/apps/silcd/server.c +++ b/apps/silcd/server.c @@ -108,11 +108,10 @@ static SilcBool silc_server_packet_receive(SilcPacketEngine engine, packet->type != SILC_PACKET_DISCONNECT) return FALSE; - /* NEW_CLIENT, NEW_SERVER and RESUME_CLIENT are accepted only without - source ID and for unregistered connection. */ + /* NEW_CLIENT and NEW_SERVER are accepted only without source ID and + for unregistered connection. */ if (packet->src_id && (packet->type == SILC_PACKET_NEW_CLIENT || - packet->type == SILC_PACKET_NEW_SERVER || - packet->type == SILC_PACKET_RESUME_CLIENT) && + packet->type == SILC_PACKET_NEW_SERVER) && (idata->status & SILC_IDLIST_STATUS_REGISTERED)) return FALSE;