From f0e92bf379de7971c4a784a26d72bcba8aca8b86 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 5 Feb 2022 23:58:22 -0300 Subject: Fix comment --- src/map/log.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/map/log.c b/src/map/log.c index 5676730dc..725793a31 100644 --- a/src/map/log.c +++ b/src/map/log.c @@ -486,13 +486,10 @@ static void log_chat(e_log_chat_type type, int type_id, int src_charid, int src_ if (dst_charname == NULL) dst_charname = ""; - // Hash the message, we don't care with it (FIXME) - //unsigned char obuf[SHA256_DIGEST_LENGTH]; - //SHA256((const unsigned char*)(message), strlen(message), obuf); + // Hash the message with SHA256, we don't care with its contents char *md5str; md5str = (char *)aMalloc((64+1)*sizeof(char)); md5->sha256(message, md5str); - //md5str = (char *)obuf; logs->chat_sub(type,type_id,src_charid,src_accid,mapname,x,y,dst_charname,md5str); } -- cgit v1.2.3-60-g2f50