From cab33a7d731240fdf71f206f76190014811c8ecd Mon Sep 17 00:00:00 2001 From: MadCamel Date: Wed, 4 Aug 2010 11:36:44 -0400 Subject: Account ID is now logged in the GM log next to character name This is so nobody gets too confused if a GM is doing @commands as an alternate character. Since account ID is public to anyone on the server anyway, it shouldn't be a security risk. --- src/map/atcommand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 062e898..cfd46a7 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -643,8 +643,8 @@ void log_atcommand (struct map_session_data *sd, const char *fmt, ...) vsnprintf (message, 511, fmt, ap); va_end (ap); - gm_log ("%s(%d,%d) %s : %s", map[sd->bl.m].name, sd->bl.x, - sd->bl.y, sd->status.name, message); + gm_log ("%s(%d,%d) %s(%d) : %s", map[sd->bl.m].name, sd->bl.x, + sd->bl.y, sd->status.name, sd->status.account_id, message); } char *gm_logfile_name = NULL; -- cgit v1.2.3-60-g2f50