From 3c88f3b8cf7c6536894d7fe74cd2a4c33d246814 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 15 Jul 2014 17:02:14 -0400 Subject: [PATCH] Check modetimes in CheckModes before enabling bouncy modes --- src/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;