From 54719fbfc615b6632852b02327ecc2ed3f200a3e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 12 Mar 2024 12:28:11 +0000 Subject: Allow protocol modules to declare that they have no line/mode limit. InspIRCd allows us to send infinite length lines and mode changes and will restack before sending to users. --- include/protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/protocol.h b/include/protocol.h index 1b067421c..036332464 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -117,10 +117,10 @@ public: size_t MaxHost = 0; /* The maximum number of bytes a line may have */ - unsigned MaxLine = 512; + size_t MaxLine = 512; /* The maximum number of modes we are allowed to set with one MODE command */ - unsigned MaxModes = 3; + size_t MaxModes = 3; /* The maximum length of a nickname. */ size_t MaxNick = 0; -- cgit