diff options
author | Haru <haru@dotalux.com> | 2015-06-02 02:31:46 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-06-02 02:31:46 +0200 |
commit | 517d94e322185ae62ffbc3f3ba55ea6846bfe684 (patch) | |
tree | 362f346bf710808a9b6367b8375b2505a065f2e4 /src/map/atcommand.c | |
parent | 60e499282e124cd8978a32bb84d4b394811f29dc (diff) | |
download | hercules-517d94e322185ae62ffbc3f3ba55ea6846bfe684.tar.gz hercules-517d94e322185ae62ffbc3f3ba55ea6846bfe684.tar.bz2 hercules-517d94e322185ae62ffbc3f3ba55ea6846bfe684.tar.xz hercules-517d94e322185ae62ffbc3f3ba55ea6846bfe684.zip |
Follow-up to 544a75b
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 0bd236fa7..95d1729e7 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8785,7 +8785,7 @@ ACMD(channel) { unsigned short msg_len = 1; msg_len += sprintf(mout, "[ %s list colors ] : %s", command, channel->config->colors_name[k]); - clif->colormes( fd, (enum clif_colors)channel->config->colors[k], mout ); + clif->messagecolor_self(fd, channel->config->colors[k], mout); } } else { DBIterator *iter = db_iterator(channel->db); @@ -9171,7 +9171,7 @@ ACMD(fontcolor) { for( k = 0; k < channel->config->colors_count; k++ ) { msg_len += sprintf(mout, "[ %s ] : %s", command, channel->config->colors_name[k]); - clif->colormes( fd, (enum clif_colors)channel->config->colors[k], mout ); + clif->messagecolor_self(fd, channel->config->colors[k], mout); } return false; } @@ -9194,7 +9194,7 @@ ACMD(fontcolor) { sd->fontcolor = k + 1; msg_len += sprintf(mout, "Color changed to '%s'", channel->config->colors_name[k]); - clif->colormes( fd, (enum clif_colors)channel->config->colors[k], mout ); + clif->messagecolor_self(fd, channel->config->colors[k], mout); return true; } |