diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/login/login.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c index 0ab0572..402efc7 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1071,6 +1071,11 @@ int check_auth_sync (int tid, unsigned int tick, int id, int data) return 0; mmo_auth_sync (); + + // If we're a child we should suicide now. + if (pid == 0) + exit (0); + return 0; } |