diff options
| author | Adam <Adam@anope.org> | 2010-09-19 12:42:08 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-09-19 12:42:08 -0400 |
| commit | 22f2b25f97ac2f96d8e7a5a9731f28483e4d0a1f (patch) | |
| tree | 1b44038961b457363450ac9296532bc104d722a7 /src/chanserv.cpp | |
| parent | ebd2997b79a44ba036277efbb837aa0701d8c782 (diff) | |
Fixed joining chanserv enforcers to unregistered channels
Diffstat (limited to 'src/chanserv.cpp')
| -rw-r--r-- | src/chanserv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chanserv.cpp b/src/chanserv.cpp index 338d0f311..b2dffcfd2 100644 --- a/src/chanserv.cpp +++ b/src/chanserv.cpp @@ -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); |
