mirror of
https://github.com/anope/anope.git
synced 2026-06-29 14:56:37 +02:00
Fixed bug #1190 and prevent m_dnsbl from akilling a user multiple times if they are in multiple blacklists
This commit is contained in:
+3
-2
@@ -394,9 +394,10 @@ void ChannelInfo::LoadMLock()
|
||||
if (this->HasFlag(CI_PERSIST) && !this->c)
|
||||
{
|
||||
this->c = new Channel(this->name, this->time_registered);
|
||||
if (!this->bi)
|
||||
if (!this->bi && ModeManager::FindChannelModeByName(CMODE_PERM) == NULL)
|
||||
ChanServ->Assign(NULL, this);
|
||||
this->bi->Join(c);
|
||||
else if (this->bi)
|
||||
this->bi->Join(c);
|
||||
check_modes(this->c);
|
||||
this->CheckTopic();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user