diff options
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index a2604dcf3..7ca140159 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -786,7 +786,11 @@ int chrif_changesex(struct map_session_data *sd) WFIFOSET(char_fd,44); clif_displaymessage(sd->fd, "Need disconnection to perform change-sex request..."); - map_quit(sd); + + if (sd->fd) + clif_authfail_fd(sd->fd, 15); + else + map_quit(sd); return 0; } |