updates.
[silc.git] / apps / silcd / command_reply.c
index c718c3baebde33a3a8f4d7dc18d2b03208118efb..cb6c6973793d99e1480b6b5f09b61e7c27232a36 100644 (file)
@@ -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 */