summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-08-25 17:34:19 +0200
committerHaru <haru@dotalux.com>2019-08-25 21:04:08 +0200
commit2af8281a53ea7bdc02a9750388aebbae1fa73f4e (patch)
tree3c05ffa4d39410b114a4987f4cf5e981ca951b0c /src/map/clif.c
parent0edf2360b185f0e1c68bb6ddbbbe3720af5651b3 (diff)
downloadhercules-2af8281a53ea7bdc02a9750388aebbae1fa73f4e.tar.gz
hercules-2af8281a53ea7bdc02a9750388aebbae1fa73f4e.tar.bz2
hercules-2af8281a53ea7bdc02a9750388aebbae1fa73f4e.tar.xz
hercules-2af8281a53ea7bdc02a9750388aebbae1fa73f4e.zip
Remove whisper dispatch code from the inter server
The code was currently not in use (assuming the only officially supported case of a single-zone server) Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3b7691ae4..62c621324 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11581,12 +11581,8 @@ static void clif_parse_WisMessage(int fd, struct map_session_data *sd)
dstsd = map->nick2sd(target);
if (dstsd == NULL || strcmp(dstsd->status.name, target) != 0) {
- // player is not on this map-server
- // At this point, don't send wisp/page if it's not exactly the same name, because (example)
- // if there are 'Test' player on an other map-server and 'test' player on this map-server,
- // and if we ask for 'Test', we must not contact 'test' player
- // so, we send information to inter-server, which is the only one which decide (and copy correct name).
- intif->wis_message(sd, target, message, (int)strlen(message));
+ // Character not found (or found through partial match).
+ clif->wis_end(sd->fd, 1);
return;
}