mirror of
https://github.com/anope/anope.git
synced 2026-06-28 01:16:37 +02:00
Made ChanServ optional
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user