summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-07-15 17:02:14 -0400
committerAdam <Adam@anope.org>2014-07-15 17:02:14 -0400
commit3c88f3b8cf7c6536894d7fe74cd2a4c33d246814 (patch)
treeb9fbc364693fbd89fdaf3deff08721f7d14d7e8a /src/channels.cpp
parent93cb5d06dbfc716416c312b4fe58eb40e5ae0046 (diff)
Check modetimes in CheckModes before enabling bouncy modes
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp2
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;