diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-21 19:44:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-21 19:44:05 +0300 |
commit | 07fe5c092d78a40d05a0239c73ba80df14f6fde0 (patch) | |
tree | 122b398075af08059f881890e89f9ee69cb377d5 /src/echar/char.c | |
parent | bc7213b9b4650dd26029be375e7a6727bd60afb2 (diff) | |
download | plugin-07fe5c092d78a40d05a0239c73ba80df14f6fde0.tar.gz plugin-07fe5c092d78a40d05a0239c73ba80df14f6fde0.tar.bz2 plugin-07fe5c092d78a40d05a0239c73ba80df14f6fde0.tar.xz plugin-07fe5c092d78a40d05a0239c73ba80df14f6fde0.zip |
Disable statistics sendigs.
Diffstat (limited to 'src/echar/char.c')
-rw-r--r-- | src/echar/char.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/echar/char.c b/src/echar/char.c index a73b826..fb5ebdc 100644 --- a/src/echar/char.c +++ b/src/echar/char.c @@ -315,3 +315,12 @@ void send_additional_slots(int fd, struct char_session_data* sd) SQL->StmtFree(stmt); } + +void echar_parse_frommap_request_stats_report_pre(int *fdPtr) +{ + const int fd = *fdPtr; + RFIFOSKIP(fd, 2); /* we skip first 2 bytes which are the 0x3008, so we end up with a buffer equal to the one we send */ + RFIFOSKIP(fd, RFIFOW(fd,2)); /* skip this packet */ + RFIFOFLUSH(fd); + hookStop(); +} |