From 0875a0ce6752c4ae1256307351577e293f00796f Mon Sep 17 00:00:00 2001
From: Freeyorp <Freeyorp101@hotmail.com>
Date: Tue, 29 Dec 2009 00:47:09 +1300
Subject: Remove extra check when logging atcommands.

This means that atcommands called in NPC scripts will be logged regardless
of whether the invoking player has @
---
 src/map/atcommand.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/map')

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);
 }
 
-- 
cgit v1.2.3-70-g09d2