summaryrefslogtreecommitdiff
path: root/src/map/map.cpp
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-07 11:22:25 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-07 11:22:25 -0400
commitd582d06bfb0ea3239d1c61b355ab3427318e915d (patch)
treed285a016f1c217ad0b47a92253d17e1ad3a35571 /src/map/map.cpp
parent784ca0b6ec91ecd66019ea915e897ecca4adbed0 (diff)
downloadtmwa-d582d06bfb0ea3239d1c61b355ab3427318e915d.tar.gz
tmwa-d582d06bfb0ea3239d1c61b355ab3427318e915d.tar.bz2
tmwa-d582d06bfb0ea3239d1c61b355ab3427318e915d.tar.xz
tmwa-d582d06bfb0ea3239d1c61b355ab3427318e915d.zip
wait for the player to be added to block list
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r--src/map/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index c1d760a..7d219a9 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -913,7 +913,7 @@ dumb_ptr<map_session_data> map_get_session(io::FD i)
if (!s)
return nullptr;
map_session_data *d = static_cast<map_session_data *>(s->session_data.get());
- if (d && d->state.auth)
+ if (d && d->state.auth && !d->state.connect_new)
return dumb_ptr<map_session_data>(d);
}