Channel System message correction

* Follow up to c87dba5.
* Fixed the join message pointing to the wrong index.
Thanks to @CairoLee!
This commit is contained in:
aleos89 2017-04-24 10:18:51 -04:00
parent c87dba5a52
commit c3ad04dc90

View File

@ -219,7 +219,7 @@ int channel_join(struct Channel *channel, struct map_session_data *sd) {
sd->stealth = false;
} else if( channel->opt & CHAN_OPT_ANNOUNCE_JOIN ) {
char output[CHAT_SIZE_MAX];
safesnprintf(output, CHAT_SIZE_MAX, msg_txt(sd,768), channel->alias, sd->status.name); // %s %s has joined.
safesnprintf(output, CHAT_SIZE_MAX, msg_txt(sd,761), channel->alias, sd->status.name); // %s %s has joined.
clif_channel_msg(channel,output,channel->color);
}