Prechádzať zdrojové kódy

Fixed a typo from r9778, allowing non-gm chars to use /kick

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9875 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 18 rokov pred
rodič
commit
987eb74e86
2 zmenil súbory, kde vykonal 4 pridanie a 3 odobranie
  1. 3 2
      Changelog-Trunk.txt
  2. 1 1
      src/map/clif.c

+ 3 - 2
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

+ 1 - 1
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);