summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-02-05 23:58:22 -0300
committerJesusaves <cpntb1@ymail.com>2022-02-05 23:58:22 -0300
commitf0e92bf379de7971c4a784a26d72bcba8aca8b86 (patch)
treebb8627f6fa4fad727904e1abc1150a1fb9ab2084 /src/map
parentca7b441512d5b2a67ecfa3f602a16729b7c100d9 (diff)
downloadhercules-f0e92bf379de7971c4a784a26d72bcba8aca8b86.tar.gz
hercules-f0e92bf379de7971c4a784a26d72bcba8aca8b86.tar.bz2
hercules-f0e92bf379de7971c4a784a26d72bcba8aca8b86.tar.xz
hercules-f0e92bf379de7971c4a784a26d72bcba8aca8b86.zip
Fix comment
Diffstat (limited to 'src/map')
-rw-r--r--src/map/log.c5
1 files changed, 1 insertions, 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);
}