summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index bdb4572f4..42ccad94e 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -621,10 +621,7 @@ bool ChannelInfo::CheckKick(User *user)
c->SetMode(NULL, CMODE_INVITE);
}
- /* Join ChanServ */
- ChanServ->Join(this->c);
-
- /* Set a timer for this channel to part ChanServ later */
+ /* Join ChanServ and set a timer for this channel to part ChanServ later */
new ChanServTimer(this->c);
}