summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index e07bd8574..8066dc629 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -2599,7 +2599,7 @@ int parse_frommap(int fd)
Sql_FreeResult(sql_handle);
// send answer if a player ask, not if the server ask
- if( acc != -1 ) {
+ if( acc != -1 && type != 5) { // Don't send answer for changesex
WFIFOHEAD(fd,34);
WFIFOW(fd, 0) = 0x2b0f;
WFIFOL(fd, 2) = acc;