summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-15 21:53:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-15 21:53:24 +0000
commitb456e8ec67709cceca510b1dac6c05ac751d7119 (patch)
tree3bf930216976d2a3aa4e6d0821257e7639a00770
parent28bd852c8508414de24a1d29ea91121ef0b50504 (diff)
The array should no longer be static
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5752 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/configreader.cpp4
1 files changed, 2 insertions, 2 deletions
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",