summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/admin/ladmin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/admin/ladmin.cpp b/src/admin/ladmin.cpp
index fbea4dc..cf1169c 100644
--- a/src/admin/ladmin.cpp
+++ b/src/admin/ladmin.cpp
@@ -1393,8 +1393,9 @@ void changesex(ZString param)
}
char sex = sex_.front();
- if (name.is_print())
+ if (!name.is_print())
{
+ PRINTF("bad name\n");
return;
}