summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-03-29 14:34:19 -0300
committershennetsind <ind@henn.et>2013-03-29 14:34:19 -0300
commit646f97864d1ea02f8252d681f2cae6645a857a92 (patch)
tree1f2447bce49c8f5158a32257cedc530889c0d716 /src/map/map.c
parentbe07517740817dda32d5c0480cd81956f1682608 (diff)
downloadhercules-646f97864d1ea02f8252d681f2cae6645a857a92.tar.gz
hercules-646f97864d1ea02f8252d681f2cae6645a857a92.tar.bz2
hercules-646f97864d1ea02f8252d681f2cae6645a857a92.tar.xz
hercules-646f97864d1ea02f8252d681f2cae6645a857a92.zip
Re-implementing ERS report()
available through map-server console input, type ers_report to print data (useful for debug purposes) Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c3
1 files changed, 3 insertions, 0 deletions
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");