summaryrefslogtreecommitdiff
path: root/src/map/charcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/charcommand.c')
-rw-r--r--src/map/charcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/charcommand.c b/src/map/charcommand.c
index a3c546ab7..5eb03dd1f 100644
--- a/src/map/charcommand.c
+++ b/src/map/charcommand.c
@@ -1255,7 +1255,7 @@ int charcommand_fakename(
return -1;
}
- if(strlen(name) < 1 || !name) {
+ if(!name[0]) {
if(strlen(pl_sd->fakename) > 1) {
pl_sd->fakename[0]='\0';
clif_charnameack(0, &pl_sd->bl);