summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 9357084..908e9ff 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -6507,7 +6507,7 @@ void clif_parse_GlobalMessage(int fd, struct map_session_data *sd) { // S 008c <
if (malformed || !magic_message(sd, buf, msg_len)) {
tmw_CheckChatSpam(sd, RFIFOP(fd,4));
- if (malformed) {
+ if ((malformed)||(pc_isdead(sd))) {
free(buf);
return;
}