From 517d94e322185ae62ffbc3f3ba55ea6846bfe684 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 2 Jun 2015 02:31:46 +0200 Subject: Follow-up to 544a75b Signed-off-by: Haru --- src/map/atcommand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/atcommand.c') 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; } -- cgit v1.2.3-70-g09d2