diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 10:51:18 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 10:51:18 +0000 |
commit | d582107b33c3b154747a0a38f33963af7ad3c53f (patch) | |
tree | 7290c0dd5259f2416a3ccefb3dcffdb94d691029 /include/inspircd_io.h | |
parent | 44d3b5b82626f627069033c7bf019d4b1564b21c (diff) |
Started moving of data into ServerConfig class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd_io.h')
-rw-r--r-- | include/inspircd_io.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/inspircd_io.h b/include/inspircd_io.h index 16ed158ea..36b00e935 100644 --- a/include/inspircd_io.h +++ b/include/inspircd_io.h @@ -14,11 +14,16 @@ * --------------------------------------------------- */ +#ifndef __INSPIRCD_IO_H__ +#define __INSPIRCD_IO_H__ + #include <sstream> #include <string> +#include "inspircd.h" class ServerConfig { + public: char ServerName[MAXBUF]; char Network[MAXBUF]; char ServerDesc[MAXBUF]; @@ -75,7 +80,7 @@ class ServerConfig MaxConn = SOMAXCONN; MaxWhoResults = 100; debugging = 0; - LogLevel = DEFAULT; + LogLevel = 0; DieDelay = 5; } }; @@ -95,3 +100,5 @@ int ConfValueEnum(char* tag,std::stringstream *config); int EnumConf(std::stringstream *config_f,const char* tag); int EnumValues(std::stringstream *config, const char* tag, int index); void WritePID(std::string filename); + +#endif |