diff options
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); |
