X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fcommand_reply.c;h=cb6c6973793d99e1480b6b5f09b61e7c27232a36;hp=c718c3baebde33a3a8f4d7dc18d2b03208118efb;hb=c198279bceee270adb93075ff81b99ff2619b530;hpb=7f771866f95a5bf99b298fd79933779bc037da9c diff --git a/apps/silcd/command_reply.c b/apps/silcd/command_reply.c index c718c3ba..cb6c6973 100644 --- a/apps/silcd/command_reply.c +++ b/apps/silcd/command_reply.c @@ -816,10 +816,10 @@ SILC_SERVER_CMD_REPLY_FUNC(join) server->stat.my_channels++; } else { /* The entry exists. */ - if (cache->id) - silc_free(cache->id); + silc_free(cache->id); entry->id = id; cache->id = entry->id; + entry->disabled = FALSE; /* Remove the founder auth data if the mode is not set but we have them in the entry */