From b456e8ec67709cceca510b1dac6c05ac751d7119 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 15 Nov 2006 21:53:24 +0000 Subject: The array should no longer be static git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5752 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/configreader.cpp b/src/configreader.cpp index c6227fc33..11aa026c2 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -535,7 +535,7 @@ void ServerConfig::Read(bool bail, userrec* user) static char* Once[] = { "server", "admin", "files", "power", "options", NULL }; /* These tags can occur ONCE or not at all */ - static InitialConfig Values[] = { + InitialConfig Values[] = { {"options", "softlimit", new ValueContainerUInt (&this->SoftLimit), DT_INTEGER, ValidateSoftLimit}, {"options", "somaxconn", new ValueContainerInt (&this->MaxConn), DT_INTEGER, ValidateMaxConn}, {"server", "name", new ValueContainerChar (this->ServerName), DT_CHARPTR, ValidateServerName}, @@ -578,7 +578,7 @@ void ServerConfig::Read(bool bail, userrec* user) /* These tags can occur multiple times, and therefore they have special code to read them * which is different to the code for reading the singular tags listed above. */ - static MultiConfig MultiValues[] = { + MultiConfig MultiValues[] = { {"connect", {"allow", "deny", "password", "timeout", "pingfreq", "flood", -- cgit v1.2.3