From 646f97864d1ea02f8252d681f2cae6645a857a92 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 29 Mar 2013 14:34:19 -0300 Subject: Re-implementing ERS report() available through map-server console input, type ers_report to print data (useful for debug purposes) Signed-off-by: shennetsind --- src/map/map.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index a7b8513f7..1ba37fe75 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -5,6 +5,7 @@ #include "../common/cbasetypes.h" #include "../common/core.h" #include "../common/timer.h" +#include "../common/ers.h" #include "../common/grfio.h" #include "../common/malloc.h" #include "../common/socket.h" // WFIFO*() @@ -3255,6 +3256,8 @@ int parse_console(const char* buf) runflag = 0; } } + else if( strcmpi("ers_report", type) == 0 ) + ers_report(); else if( strcmpi("help", type) == 0 ) { ShowInfo("To use GM commands:\n"); -- cgit v1.2.3-60-g2f50