From cba1313a40f84b8a40cb8cd0309bf3617833ecfc Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 15 Dec 2019 12:38:26 +0000 Subject: [PATCH] Revert "Fix the length limit for InspIRCd v3 S2S messages." This is causing build errors for some people and i'm unsure why. This reverts commit a4ab6876c3f4afc087a3db90404bbdeb47525e6e. --- modules/protocol/inspircd3.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/protocol/inspircd3.cpp b/modules/protocol/inspircd3.cpp index 210d12043..58687f2d2 100644 --- a/modules/protocol/inspircd3.cpp +++ b/modules/protocol/inspircd3.cpp @@ -12,7 +12,6 @@ #include "module.h" #include "modules/cs_mode.h" #include "modules/sasl.h" -#include struct SASLUser { @@ -1433,11 +1432,10 @@ struct IRCDMessageEndburst : IRCDMessage void Run(MessageSource &source, const std::vector ¶ms) anope_override { Server *s = source.GetServer(); - Log(LOG_DEBUG) << "Processed ENDBURST for " << s->GetName(); - s->Sync(true); - // Once connected the InspIRCd S2S protocol has no max message length. - IRCD->MaxLine = std::numeric_limits::max(); + Log(LOG_DEBUG) << "Processed ENDBURST for " << s->GetName(); + + s->Sync(true); } };