From 3d0fba021dd07b8d3a9da55e977fd80fdfb2b0ab Mon Sep 17 00:00:00 2001 From: shennetsind Date: Wed, 3 Jul 2013 23:00:39 -0300 Subject: Fixed Bug #7463 http://hercules.ws/board/tracker/issue-7463-gm-cant-whsiper-wheb-player-do-exall/ Signed-off-by: shennetsind --- src/map/clif.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index f925fcf55..30903872d 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10503,11 +10503,13 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd) return; } - // if player ignores the source character - ARR_FIND(0, MAX_IGNORE_LIST, i, dstsd->ignore[i].name[0] == '\0' || strcmp(dstsd->ignore[i].name, sd->status.name) == 0); - if(i < MAX_IGNORE_LIST && dstsd->ignore[i].name[0] != '\0') { // source char present in ignore list - clif->wis_end(fd, 2); // 2: ignored by target - return; + if( pc->get_group_level(sd) <= pc->get_group_level(dstsd) ) { + // if player ignores the source character + ARR_FIND(0, MAX_IGNORE_LIST, i, dstsd->ignore[i].name[0] == '\0' || strcmp(dstsd->ignore[i].name, sd->status.name) == 0); + if(i < MAX_IGNORE_LIST && dstsd->ignore[i].name[0] != '\0') { // source char present in ignore list + clif->wis_end(fd, 2); // 2: ignored by target + return; + } } // notify sender of success -- cgit v1.2.3-70-g09d2