summaryrefslogtreecommitdiff
path: root/include/numericbuilder.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-03-19 16:20:01 +0100
committerAttila Molnar <attilamolnar@hush.com>2016-03-19 16:20:01 +0100
commit266eb73475303ed6d48add31eec95700923e2146 (patch)
treee0d28826d7162139ea369026aee3928f97cccf09 /include/numericbuilder.h
parentcee5a82d95fc3f5d3670ef483998bfc2d4a5a82e (diff)
Fix oversights in the WriteNumeric() parameter conversion
Diffstat (limited to 'include/numericbuilder.h')
-rw-r--r--include/numericbuilder.h2
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());