From c5568987878e2cb429d720e489a010ba501334ce Mon Sep 17 00:00:00 2001 From: Er_Maqui Date: Mon, 12 Oct 2015 16:37:43 +0200 Subject: - Error message when talking to a pre-defined channel and you aren't on the channel. --- src/map/clif.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index 9c7d327e6..db1f1af73 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10130,6 +10130,9 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd) clif->message(fd, msg_fd(fd,1402)); } return; + } else if (strcmpi(&chname[1], channel->config->ally_name) == 0) { + clif->message(fd, msg_fd(fd,1500)); // You're not allowed to talk on this channel + return; } } -- cgit v1.2.3-70-g09d2