1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 15:26:41 +02:00

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 a4ab6876c3.
This commit is contained in:
Peter Powell
2019-12-15 12:38:26 +00:00
parent 96ea61d8b8
commit cba1313a40
+3 -5
View File
@@ -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> &params) 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();
Log(LOG_DEBUG) << "Processed ENDBURST for " << s->GetName();
s->Sync(true);
}
};