1
0
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:
Adam
2010-09-19 12:42:08 -04:00
parent ebd2997b79
commit 22f2b25f97
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);