summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-07-15 15:01:36 +0200
committerHaru <haru@dotalux.com>2013-07-15 15:07:03 +0200
commite92b006b5175b9f8f059b49d3cb720423b5045e8 (patch)
treed45cbeed4db2516f201b671d7cf62de4012ca8e2 /src
parent0b63deefd251a06b50a333facd6ad0e099e942b2 (diff)
downloadhercules-e92b006b5175b9f8f059b49d3cb720423b5045e8.tar.gz
hercules-e92b006b5175b9f8f059b49d3cb720423b5045e8.tar.bz2
hercules-e92b006b5175b9f8f059b49d3cb720423b5045e8.tar.xz
hercules-e92b006b5175b9f8f059b49d3cb720423b5045e8.zip
Allow higher level GMs to bypass a player's /exall when whispering
- Follow-up to 3d0fba0 - Fixes the remaining part of bug #7463: http://hercules.ws/board/tracker/issue-7463-gm-cant-whsiper-wheb-player-do-exall Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 1b96d45fb..2f7360da9 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10494,9 +10494,9 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd)
}
// if player ignores everyone
- if (dstsd->state.ignoreAll) {
+ if (dstsd->state.ignoreAll && pc->get_group_level(sd) <= pc->get_group_level(dstsd)) {
if (dstsd->sc.option & OPTION_INVISIBLE && pc->get_group_level(sd) < pc->get_group_level(dstsd))
- clif->wis_end(fd, 1); // 1: target character is not loged in
+ clif->wis_end(fd, 1); // 1: target character is not logged in
else
clif->wis_end(fd, 3); // 3: everyone ignored by target
return;