updates.
[silc.git] / apps / silcd / command_reply.c
index 9b18d11afb11e7eccc6b295c8d8384b705a91319..88a91d64854449b079c7b3e7b15695739c95cd60 100644 (file)
@@ -833,7 +833,7 @@ SILC_SERVER_CMD_REPLY_FUNC(join)
 
   if (entry->hmac_name && hmac) {
     silc_free(entry->hmac_name);
-    entry->hmac_name = strdup(hmac->hmac->name);
+    entry->hmac_name = strdup(silc_hmac_get_name(hmac));
   }
 
   /* Get the ban list */