summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp9
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);
}