diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/char/pincode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/char/pincode.c b/src/char/pincode.c index b1d41bc2d..9f814b5ad 100644 --- a/src/char/pincode.c +++ b/src/char/pincode.c @@ -87,7 +87,9 @@ int pincode_compare(int fd, struct char_session_data* sd, char* pin) { } else { pincode->sendstate( fd, sd, PINCODE_WRONG ); if( pincode->maxtry && ++sd->pincode_try >= pincode->maxtry ){ - pincode->error( sd->account_id ); + pincode->error(sd->account_id); + chr->authfail_fd(fd, 0); + chr->disconnect_player(sd->account_id); } return 0; } |