From 92af24a6cad29368bef742c612700496238a7113 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 17 Feb 2007 23:08:19 +0000 Subject: Fixed a typo from r9778, allowing non-gm chars to use /kick git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9875 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 5 +++-- src/map/clif.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 7406583cb..175087d9d 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,9 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2007/02/17 + * Fixed a typo from r9778, allowing non-gm chars to use /kick [ultramage] + 2007/02/16 * Fixed the structure of packet 0x6d (new char info). It's the same as the one used for packet 0x6b (chars info). [FlavioJS] @@ -34,8 +37,6 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. decimals get discarded on level up (so the real minimum/maximum displayed was off). 2007/02/13 - * Reverted some mobdb lines - * Cleaned up clif_party_info's interface a bit [ultramage] * Applied Rayce's dangling pointer fix when returning a temporary npc string variable (those starting with .@) * Required Weapon, ammo, and skill state are now only checked on begin diff --git a/src/map/clif.c b/src/map/clif.c index a10a27501..198b7de79 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10800,7 +10800,7 @@ void clif_parse_GMKick(int fd, struct map_session_data *sd) { if (battle_config.atc_gmonly && !pc_isGM(sd)) return; - if (pc_isGM(sd) >= (lv=get_atcommand_level(AtCommand_Kick))) + if (pc_isGM(sd) < (lv=get_atcommand_level(AtCommand_Kick))) return; tid = RFIFOL(fd,2); -- cgit v1.2.3-70-g09d2