diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-03-19 16:20:01 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-03-19 16:20:01 +0100 |
commit | 266eb73475303ed6d48add31eec95700923e2146 (patch) | |
tree | e0d28826d7162139ea369026aee3928f97cccf09 /include | |
parent | cee5a82d95fc3f5d3670ef483998bfc2d4a5a82e (diff) |
Fix oversights in the WriteNumeric() parameter conversion
Diffstat (limited to 'include')
-rw-r--r-- | include/numericbuilder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/numericbuilder.h b/include/numericbuilder.h index 726aeff3f..a7b83125f 100644 --- a/include/numericbuilder.h +++ b/include/numericbuilder.h @@ -62,7 +62,7 @@ class Numeric::GenericBuilder GenericBuilder(Sink s, unsigned int num, bool addparam = true, size_t additionalsize = 0) : sink(s) , numeric(num) - , max(ServerInstance->Config->Limits.MaxLine - ServerInstance->Config->ServerName.size() - additionalsize - 9) + , max(ServerInstance->Config->Limits.MaxLine - ServerInstance->Config->ServerName.size() - additionalsize - 10) { if (addparam) numeric.push(std::string()); |