summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp
index ea92d15..6aa14ce 100644
--- a/src/map/clif.cpp
+++ b/src/map/clif.cpp
@@ -255,6 +255,9 @@ void clif_send_sub(dumb_ptr<block_list> bl, const unsigned char *buf, int len,
nullpo_retv(bl);
dumb_ptr<map_session_data> sd = bl->is_player();
+ if (sd->sess->eof)
+ return;
+
switch (type)
{
case SendWho::AREA_WOS: