From 872a00242e89a007cce82c593218eda226f7edda Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sun, 21 Mar 2010 08:43:12 +0000 Subject: assigned botserv bots will now join permanent channels when syncing with our uplink git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2827 5417fbe8-f217-4b02-8779-1006273d7864 --- src/channels.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/channels.c b/src/channels.c index 45b4f9d8c..4d9ec807b 100644 --- a/src/channels.c +++ b/src/channels.c @@ -157,8 +157,9 @@ void Channel::JoinUser(User *user) * make it into the channel, leaving the channel botless even for * legit users - Rob * But don't join the bot if the channel is persistant - Adam + * But join persistant channels when syncing with our uplink- DP **/ - if (Config.s_BotServ && this->ci && this->ci->bi && !this->ci->HasFlag(CI_PERSIST)) + if (Config.s_BotServ && this->ci && this->ci->bi && ((serv_uplink->sync == SSYNC_IN_PROGRESS) || !this->ci->HasFlag(CI_PERSIST))) { if (this->users.size() == Config.BSMinUsers) bot_join(this->ci); -- cgit