]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
The array should no longer be static
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 15 Nov 2006 21:53:24 +0000 (21:53 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 15 Nov 2006 21:53:24 +0000 (21:53 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5752 e03df62e-2008-0410-955e-edbf42e46eb7

src/configreader.cpp

index c6227fc33c81bcf4772a31fadff4b53a18e76b22..11aa026c2759b1dec6f8d0ab2066ab8989eb6639 100644 (file)
@@ -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",