summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 3f0a3c475..7e641bd1e 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -4337,7 +4337,7 @@ int atcommand_petrename(
return -1;
}
pd = sd->pd;
- if (pd->pet.rename_flag) {
+ if (!pd->pet.rename_flag) {
clif_displaymessage(fd, msg_txt(188)); // You can already rename your pet.
return -1;
}