Bladeren bron

* Fixed natural expiration of GM mute printing the unmute message twice (since r12169).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14994 54d463be-8e91-2dee-dedb-b68131a5f0ec
ai4rei 13 jaren geleden
bovenliggende
commit
d9c8d6b25a
2 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/status.c

+ 2 - 0
Changelog-Trunk.txt

@@ -1,5 +1,7 @@
 Date	Added
 
+2011/11/16
+	* Fixed natural expiration of GM mute printing the unmute message twice (since r12169). [Ai4rei]
 2011/11/12
 	* Fixed npc class HIDDEN_WARP_NPC (139) being sent to the client, causing client crashes in poring war. It's a server-side "sprite" only. [Ai4rei]
 	- Updated Aegis NPC ID constants from current npcidentity.lub (569~603).

+ 1 - 1
src/map/status.c

@@ -6666,7 +6666,7 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
 		case SC_NOCHAT:
 			if (sd && sd->status.manner < 0 && tid != INVALID_TIMER)
 				sd->status.manner = 0;
-			if (sd)
+			if (sd && tid == INVALID_TIMER)
 			{
 				clif_changestatus(&sd->bl,SP_MANNER,sd->status.manner);
 				clif_updatestatus(sd,SP_MANNER);