diff options
author | Mathy <MathyM@users.noreply.github.com> | 2018-11-13 18:11:08 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-11-13 18:19:33 +0100 |
commit | d036c82b2080426c03d26f4d7c4015eab1fe1aed (patch) | |
tree | e2431a730beef0174d62c665ed9820ed93a23d69 /src | |
parent | 60643f1b7bbc2a21f44ab6663dee03d962ff6d6b (diff) | |
download | hercules-d036c82b2080426c03d26f4d7c4015eab1fe1aed.tar.gz hercules-d036c82b2080426c03d26f4d7c4015eab1fe1aed.tar.bz2 hercules-d036c82b2080426c03d26f4d7c4015eab1fe1aed.tar.xz hercules-d036c82b2080426c03d26f4d7c4015eab1fe1aed.zip |
Fixed character not joining its guild chat when joining a new guild.
Diffstat (limited to 'src')
-rw-r--r-- | src/map/guild.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/guild.c b/src/map/guild.c index 757dbb445..17bf7fa6b 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -828,6 +828,11 @@ static int guild_member_added(int guild_id, int account_id, int char_id, int fla //Next line commented because it do nothing, look at guild_recv_info [LuzZza] //clif->charnameupdate(sd); //Update display name [Skotlex] + // Makes the character join their respective guild's channel for #ally chat + if (channel->config->ally && channel->config->ally_autojoin) { + channel->join(g->channel, sd, "", true); + } + return 0; } |