summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2010-12-01 11:34:09 -0500
committerMadCamel <madcamel@gmail.com>2010-12-01 11:34:09 -0500
commit410efc24064397484559b1763789ecbb44d4d045 (patch)
treef1278ca2e1e2b3c87ee318ab69a8f903c2015c4a
parentcc3f6547545edc7a5cbf2d82c4c2bcb405582bd5 (diff)
downloadtmwa-410efc24064397484559b1763789ecbb44d4d045.tar.gz
tmwa-410efc24064397484559b1763789ecbb44d4d045.tar.bz2
tmwa-410efc24064397484559b1763789ecbb44d4d045.tar.xz
tmwa-410efc24064397484559b1763789ecbb44d4d045.zip
Fixed off-by-one error in IP packet level calculation.v2010.12.25
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 67090e3..b4b2425 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7107,7 +7107,7 @@ void clif_parse_GetCharNameRequest (int fd, struct map_session_data *sd)
}
- if (pc_isGM(sd) > battle_config.hack_info_GM_level)
+ if (pc_isGM(sd) >= battle_config.hack_info_GM_level)
{
in_addr_t ip = ssd->ip;
WFIFOW (fd, 0) = 0x20C;