summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 591a8ca8e..61557fd51 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -9047,7 +9047,7 @@ bool is_atcommand(const int fd, struct map_session_data* sd, const char* message
//Log Charcommands
if( log_config.gm && info->level2 >= log_config.gm && *atcmd_msg == charcommand_symbol && ssd != NULL )
- log_atcommand(ssd, message);
+ log_atcommand(sd, message);
return true;
}