ddnet/src/engine/server
bors[bot] cdb5a5c280
Merge #3519
3519: Send logout packet after using timeout protection r=def- a=heinrich5991

Only send the logout packet if you're actually logged in.

Fixes #3490. Supersedes #3495.

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2021-01-17 18:00:00 +00:00
..
databases Merge #3504 2021-01-17 16:40:50 +00:00
antibot.cpp Run clang-format 2020-09-26 21:50:15 +02:00
antibot.h Run clang-format 2020-09-26 21:50:15 +02:00
authmanager.cpp Fix variable names manually 2020-11-02 22:40:40 +01:00
authmanager.h Run clang-format 2020-09-26 21:50:15 +02:00
name_ban.cpp Make name more descriptive 2019-03-11 14:48:45 +01:00
name_ban.h Run clang-format 2020-09-26 21:50:15 +02:00
register.cpp Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
register.h Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
server.cpp Send logout packet after using timeout protection 2021-01-17 17:44:48 +01:00
server.h Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
sql_string_helpers.cpp Fix some variable name's style 2020-11-08 17:15:48 +01:00
sql_string_helpers.h Fix some variable name's style 2020-11-08 17:15:48 +01:00
upnp.cpp Run clang-format 2020-09-26 21:50:15 +02:00
upnp.h Run clang-format 2020-09-26 21:50:15 +02:00