From 90bc0259061ee5151d7f6af7997dd18d0561389d Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 8 Apr 2014 07:38:31 +0100 Subject: [PATCH] Add encoding to controlpanel's help --- modules/controlpanel.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/controlpanel.cpp b/modules/controlpanel.cpp index e2c141cb..adf9e289 100644 --- a/modules/controlpanel.cpp +++ b/modules/controlpanel.cpp @@ -75,7 +75,10 @@ class CAdminMod : public CModule { {"PrependTimestamp", boolean}, {"TimestampFormat", str}, {"DCCBindHost", str}, - {"StatusPrefix", str} + {"StatusPrefix", str}, +#ifdef HAVE_ICU + {"ClientEncoding", str}, +#endif }; for (unsigned int i = 0; i != ARRAY_SIZE(vars); ++i) { VarTable.AddRow(); @@ -97,6 +100,9 @@ class CAdminMod : public CModule { {"BindHost", str}, {"FloodRate", doublenum}, {"FloodBurst", integer}, +#ifdef HAVE_ICU + {"Encoding", str}, +#endif }; for (unsigned int i = 0; i != ARRAY_SIZE(nvars); ++i) { NVarTable.AddRow();