mirror of
https://github.com/anope/anope.git
synced 2026-07-04 06:23:14 +02:00
Fixed joining chanserv enforcers to unregistered channels
This commit is contained in:
+1
-1
@@ -837,7 +837,7 @@ ChanServTimer::ChanServTimer(Channel *chan) : Timer(Config->CSInhabit), c(chan)
|
||||
{
|
||||
if (c->ci)
|
||||
c->ci->SetFlag(CI_INHABIT);
|
||||
if (!c->ci->bi)
|
||||
if (!c->ci || !c->ci->bi)
|
||||
ChanServ->Join(*c);
|
||||
else if (!c->FindUser(c->ci->bi))
|
||||
c->ci->bi->Join(*c);
|
||||
|
||||
Reference in New Issue
Block a user