summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}