summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-22 18:49:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-30 01:36:43 +0300
commitfe4f4c851d876cd8b6b9ad9d31c2e3a011ecc9b8 (patch)
treeecc8367f0b6ead19d2df25d53853c1c7dff8236c /src/map/clif.c
parentffde84076fa00eca84a81ff6842e9cc5d3844876 (diff)
downloadhercules-fe4f4c851d876cd8b6b9ad9d31c2e3a011ecc9b8.tar.gz
hercules-fe4f4c851d876cd8b6b9ad9d31c2e3a011ecc9b8.tar.bz2
hercules-fe4f4c851d876cd8b6b9ad9d31c2e3a011ecc9b8.tar.xz
hercules-fe4f4c851d876cd8b6b9ad9d31c2e3a011ecc9b8.zip
Add channels.conf option irc_channel_autojoin for auto joining irc channel.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 22d259006..d28e64cd3 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9265,6 +9265,9 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd) {
if (channel->config->local && channel->config->local_autojoin) {
channel->map_join(sd);
}
+ if (channel->config->irc && channel->config->irc_autojoin) {
+ channel->irc_join(sd);
+ }
}
mail->clear(sd);