summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2009-08-09 15:42:51 -0400
committerMadCamel <madcamel@gmail.com>2009-08-09 15:42:51 -0400
commitbe14846f81942b7965212d71446aa6ae91ee8dc7 (patch)
treebfdea8348fb41ff01e6f0eb684892c7cdefe7c93 /src/map/clif.c
parentb1f47a7d6d0e5b0842bbab61c20e47da140e8954 (diff)
parent37bdc8e72ec43e6e8f827ed77a1f93f5a8b0007f (diff)
downloadtmwa-be14846f81942b7965212d71446aa6ae91ee8dc7.tar.gz
tmwa-be14846f81942b7965212d71446aa6ae91ee8dc7.tar.bz2
tmwa-be14846f81942b7965212d71446aa6ae91ee8dc7.tar.xz
tmwa-be14846f81942b7965212d71446aa6ae91ee8dc7.zip
Merge branch 'master' of git://gitorious.org/tmw-eathena/mainline
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;
}