diff options
| author | Adam <Adam@anope.org> | 2010-10-02 14:14:00 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-10-02 15:23:55 -0400 |
| commit | b0070bbd3bb1cdcbfb7ca2463058448ba79b3111 (patch) | |
| tree | 0bcdc7faf402a5bb399ad913b92d57edb7b18846 /src/regchannel.cpp | |
| parent | 0a8bb8808549e0f93a690fa887f46af03768c9db (diff) | |
Made ChanServ optional
Diffstat (limited to 'src/regchannel.cpp')
| -rw-r--r-- | src/regchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 4948f7157..9bb79b8cc 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -393,7 +393,7 @@ void ChannelInfo::LoadMLock() if (this->HasFlag(CI_PERSIST) && !this->c) { this->c = new Channel(this->name, this->time_registered); - if (!this->bi && ModeManager::FindChannelModeByName(CMODE_PERM) == NULL) + if (!this->bi && ChanServ && ModeManager::FindChannelModeByName(CMODE_PERM) == NULL) ChanServ->Assign(NULL, this); else if (this->bi) this->bi->Join(c); |
