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:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user