diff options
author | Adam <Adam@anope.org> | 2014-07-15 17:02:14 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-07-15 17:02:14 -0400 |
commit | 3c88f3b8cf7c6536894d7fe74cd2a4c33d246814 (patch) | |
tree | b9fbc364693fbd89fdaf3deff08721f7d14d7e8a /src/channels.cpp | |
parent | 93cb5d06dbfc716416c312b4fe58eb40e5ae0046 (diff) |
Check modetimes in CheckModes before enabling bouncy modes
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 409cf6b55..d5ed0aa44 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -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; |