From af13278f4f43bfe2a4a0071775d664489f865b18 Mon Sep 17 00:00:00 2001 From: sebastinas Date: Wed, 10 Jun 2009 19:16:20 +0000 Subject: [PATCH] made string, boolean and integer static Made string, boolean and integer in PrintHelp static sinve vars is static too. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1542 726aef4b-f618-498e-8847-2d620e286838 --- modules/admin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/admin.cpp b/modules/admin.cpp index c1d260c8..abe3b929 100644 --- a/modules/admin.cpp +++ b/modules/admin.cpp @@ -58,9 +58,9 @@ class CAdminMod : public CModule { CTable VarTable; VarTable.AddColumn("Variable"); VarTable.AddColumn("Type"); - const char* string = "String"; - const char* boolean = "Boolean (true/false)"; - const char* integer = "Integer"; + static const char* string = "String"; + static const char* boolean = "Boolean (true/false)"; + static const char* integer = "Integer"; static const char* vars[][2] = { {"Nick", string}, {"Altnick", string},