diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 14:03:56 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 14:03:56 +0000 |
commit | 14c612eef9aeb4610d45e7a7f59eb19ce5cb4ab4 (patch) | |
tree | ca8bb5a6a5d3b2448ea822a2e12237bd109e7ac5 /include | |
parent | 4d6311c0d0d00dee048f69e8c093ae0cb20d8774 (diff) |
Moved readconfig to serverconfig class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2408 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd_io.h | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/include/inspircd_io.h b/include/inspircd_io.h index e5447ecb3..c067de059 100644 --- a/include/inspircd_io.h +++ b/include/inspircd_io.h @@ -67,38 +67,8 @@ class ServerConfig char PID[1024]; std::stringstream config_f; - ServerConfig() - { - *ServerName = '\0'; - *Network = '\0'; - *ServerDesc = '\0'; - *AdminName = '\0'; - *AdminEmail = '\0'; - *AdminNick = '\0'; - *diepass = '\0'; - *restartpass = '\0'; - *motd = '\0'; - *rules = '\0'; - *PrefixQuit = '\0'; - *DieValue = '\0'; - *DNSServer = '\0'; - *ModPath = '\0'; - *MyExecutable = '\0'; - *DisabledCommands = '\0'; - *PID = '\0'; - log_file = NULL; - nofork = false; - unlimitcore = false; - AllowHalfop = true; - dns_timeout = 5; - NetBufferSize = 10240; - SoftLimit = MAXCLIENTS; - MaxConn = SOMAXCONN; - MaxWhoResults = 100; - debugging = 0; - LogLevel = DEFAULT; - DieDelay = 5; - } + ServerConfig(); + void Read(bool bail, userrec* user); }; |