summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-04-07 23:10:55 +0200
committerGitHub <noreply@github.com>2019-04-07 23:10:55 +0200
commitab975f47579e1522dd6da8996913ac31c2e72207 (patch)
tree3954ed57ab46f4e403d83215822d6ca4a9e24189 /src/map/atcommand.c
parent4c571d8382418024ef39640f231ced878919e58e (diff)
parente610e222c57c1268fce72bc9578b42f655c18545 (diff)
downloadhercules-ab975f47579e1522dd6da8996913ac31c2e72207.tar.gz
hercules-ab975f47579e1522dd6da8996913ac31c2e72207.tar.bz2
hercules-ab975f47579e1522dd6da8996913ac31c2e72207.tar.xz
hercules-ab975f47579e1522dd6da8996913ac31c2e72207.zip
Merge pull request #2406 from 4144/updatepackets
Update packets and messages up to 2019-04-03
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index a9f63fe13..a9bbff7bd 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7669,9 +7669,9 @@ ACMD(fakename)
if (sd->fakename[0])
{
sd->fakename[0] = '\0';
- clif->charnameack(0, &sd->bl);
+ clif->blname_ack(0, &sd->bl);
if( sd->disguise )
- clif->charnameack(sd->fd, &sd->bl);
+ clif->blname_ack(sd->fd, &sd->bl);
clif->message(sd->fd, msg_fd(fd,1307)); // Returned to real name.
return true;
}
@@ -7687,9 +7687,9 @@ ACMD(fakename)
}
safestrncpy(sd->fakename, message, sizeof(sd->fakename));
- clif->charnameack(0, &sd->bl);
+ clif->blname_ack(0, &sd->bl);
if (sd->disguise) // Another packet should be sent so the client updates the name for sd
- clif->charnameack(sd->fd, &sd->bl);
+ clif->blname_ack(sd->fd, &sd->bl);
clif->message(sd->fd, msg_fd(fd,1310)); // Fake name enabled.
return true;