diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-30 00:08:33 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-30 00:08:33 +0000 |
commit | ab7e4301705b35fd947df688447d33fa399d66be (patch) | |
tree | 164f45377308e6a0a961e241ad306c05c9510af9 /src/regchannel.cpp | |
parent | 8aa7fbe0eacc7c0aec682029ef479ca55832a534 (diff) |
Don't use botserv bots to hold channels open, becomes too much of a problem if people unassign/reassign bots etc
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2921 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r-- | src/regchannel.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 97251b977..aa2f9d3eb 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -647,13 +647,10 @@ akick->nc->display : akick->mask); c->SetMode(NULL, CMODE_INVITE); } - /* This channel has no bot assigned to it, join ChanServ */ - if (!this->bi) - { - ircdproto->SendJoin(findbot(Config.s_ChanServ), this->name.c_str(), this->c->creation_time); - } + /* Join ChanServ */ + ircdproto->SendJoin(findbot(Config.s_ChanServ), this->name.c_str(), this->c->creation_time); - /* Set a timer for this channel to part the bots later */ + /* Set a timer for this channel to part ChanServ later */ new ChanServTimer(this->c); } |