diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-12 12:28:11 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-12 12:39:33 +0000 |
commit | 54719fbfc615b6632852b02327ecc2ed3f200a3e (patch) | |
tree | 4253f1ee30750245e35a7e97710a6c5504637892 /include/protocol.h | |
parent | 06add0e5fc1b83b43014e731cb94229ab2be66f6 (diff) |
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.
Diffstat (limited to 'include/protocol.h')
-rw-r--r-- | include/protocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |