diff options
author | Freeyorp <Freeyorp101@hotmail.com> | 2009-12-29 00:47:09 +1300 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-12-28 23:51:15 +0000 |
commit | 0875a0ce6752c4ae1256307351577e293f00796f (patch) | |
tree | 8c8084e7599dbc9ea1665f0fe1abf52b6e0ae071 /src/map/atcommand.c | |
parent | bacf8ae2beed3b3605572d339231e03962d946ac (diff) | |
download | tmwa-0875a0ce6752c4ae1256307351577e293f00796f.tar.gz tmwa-0875a0ce6752c4ae1256307351577e293f00796f.tar.bz2 tmwa-0875a0ce6752c4ae1256307351577e293f00796f.tar.xz tmwa-0875a0ce6752c4ae1256307351577e293f00796f.zip |
Remove extra check when logging atcommands.
This means that atcommands called in NPC scripts will be logged regardless
of whether the invoking player has @
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 40f4cfd..05f4fa7 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -643,8 +643,7 @@ void log_atcommand (struct map_session_data *sd, const char *fmt, ...) vsnprintf (message, 511, fmt, ap); va_end (ap); - if (pc_isGM (sd)) - gm_log ("%s(%d,%d) %s : %s", map[sd->bl.m].name, sd->bl.x, + gm_log ("%s(%d,%d) %s : %s", map[sd->bl.m].name, sd->bl.x, sd->bl.y, sd->status.name, message); } |