1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 06:56:39 +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
@@ -106,7 +106,7 @@ void Channel::Reset()
void Channel::Sync()
{
if (this->users.empty() || (this->users.size() == 1 && this->ci && this->ci->bi == this->users.front()->user))
if (!this->HasMode(CMODE_PERM) && (this->users.empty() || (this->users.size() == 1 && this->ci && this->ci->bi == this->users.front()->user)))
{
new ChanServTimer(this);
}