summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-15 14:08:05 -0400
committerAdam <Adam@anope.org>2010-08-15 14:08:05 -0400
commitc2a97d9f3f2d56d889875f9b60d1e2cbc9826d15 (patch)
tree5530abf6bdb54f8c32b1f681f6367536a412e262 /src/regchannel.cpp
parenta950ed8cabfeca55c909f02412b1788bd386dcff (diff)
Cleanup of various different crashes/inconsistancies
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);
}