mirror of
https://github.com/anope/anope.git
synced 2026-07-01 03:06:37 +02:00
Check modetimes in CheckModes before enabling bouncy modes
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ void Channel::CheckModes()
|
||||
return;
|
||||
|
||||
/* Check for mode bouncing */
|
||||
if (this->server_modecount >= 3 && this->chanserv_modecount >= 3)
|
||||
if (this->chanserv_modetime == Anope::CurTime && this->server_modetime == Anope::CurTime && this->server_modecount >= 3 && this->chanserv_modecount >= 3)
|
||||
{
|
||||
Log() << "Warning: unable to set modes on channel " << this->name << ". Are your servers' U:lines configured correctly?";
|
||||
this->bouncy_modes = 1;
|
||||
|
||||
Reference in New Issue
Block a user