ddnet/src/engine
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
..
client Fix clang-style 2021-01-15 23:59:48 +01:00
docs Fix typo 2018-07-10 17:29:02 +08:00
external Fix external directory in .clang-tidy 2020-10-14 15:45:47 +02:00
server Merge #3519 2021-01-17 18:00:00 +00:00
shared Merge #3377 #3487 2021-01-10 15:00:19 +00:00
antibot.h Run clang-format 2020-09-26 21:50:15 +02:00
client.h Warn new players about name with points (fixes #3178) 2020-10-23 23:37:49 +02:00
config.h Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
console.h Port CConsole::Init() from the upstream code 2021-01-10 16:51:18 +03:00
demo.h Run clang-format 2020-09-26 21:50:15 +02:00
editor.h Run clang-format 2020-09-26 21:50:15 +02:00
engine.h Use two threads for the server thread pool 2018-10-07 12:47:32 +02:00
friends.h Run clang-format 2020-09-26 21:50:15 +02:00
ghost.h Update ghost format to v6: Replace CRC with SHA256 2020-10-14 17:08:58 +02:00
graphics.h Don't render fully transparent quads 2020-12-29 14:59:17 +01:00
input.h Update DoEditBox logic to be the same as chat 2020-10-26 01:44:10 +08:00
kernel.h Run clang-format 2020-09-26 21:50:15 +02:00
keys.h Use scancodes instead of keycodes for input (fixes #796, please test) 2017-07-21 19:53:49 +02:00
map.h Run clang-format 2020-09-26 21:50:15 +02:00
masterserver.h Run clang-format 2020-09-26 21:50:15 +02:00
message.h Run clang-format 2020-09-26 21:50:15 +02:00
server.h Allow IServer users to check when client's names change 2020-10-14 16:42:35 +02:00
serverbrowser.h Don't sort on entry adding 2020-12-22 11:30:20 +01:00
sound.h Modulize skins, particles, emoticons and game 2020-10-09 09:07:19 +02:00
steam.h Allow joining and inviting others via Steam friend list while ingame 2020-09-06 17:08:38 +02:00
storage.h Run clang-format 2020-09-26 21:50:15 +02:00
textrender.h Merge branch 'master' into pr_color_picker 2020-12-13 20:40:33 +03:00
updater.h Overhauled job system 2017-11-23 15:47:38 +01:00
uuid.h Make sure headers compile standalone 2020-09-26 21:50:27 +02:00
warning.h Add block list for drivers 2020-11-05 21:07:14 +01:00