diff options
author | Peter Powell <petpow@saberuk.com> | 2019-12-15 12:38:26 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-12-15 12:40:31 +0000 |
commit | cba1313a40f84b8a40cb8cd0309bf3617833ecfc (patch) | |
tree | dc31b5b746ca20e26ede8b8bcbd6d6235c598c55 /modules/protocol/inspircd3.cpp | |
parent | 96ea61d8b82d1ae32215a02f39b367bd1d75b75c (diff) |
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.
Diffstat (limited to 'modules/protocol/inspircd3.cpp')
-rw-r--r-- | modules/protocol/inspircd3.cpp | 6 |
1 files changed, 2 insertions, 4 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 <limits> struct SASLUser { @@ -1433,11 +1432,10 @@ struct IRCDMessageEndburst : IRCDMessage void Run(MessageSource &source, const std::vector<Anope::string> ¶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<unsigned>::max(); + s->Sync(true); } }; |