summaryrefslogtreecommitdiff
path: root/src/map/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/log.c')
-rw-r--r--src/map/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/log.c b/src/map/log.c
index ff1487d0c..de7410011 100644
--- a/src/map/log.c
+++ b/src/map/log.c
@@ -393,7 +393,7 @@ int log_chat(char *type, int type_id, int src_charid, int src_accid, char *map,
void log_set_defaults(void)
{
- malloc_set(&log_config, 0, sizeof(log_config));
+ memset(&log_config, 0, sizeof(log_config));
//LOG FILTER Default values
log_config.refine_items_log = 5; //log refined items, with refine >= +7