summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 11:45:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 11:45:04 +0000
commite86afd775c59441ff66222b2c3142b01ec2113af (patch)
treef4e0348b4d1b11d6720bf632a6f54637e5e971de /include
parente49cb4ecfca4cf9bf5c2df2f97278613b82e5fd8 (diff)
Finished moving main config items into class ServerConfig
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2399 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h8
-rw-r--r--include/inspircd_io.h10
2 files changed, 9 insertions, 9 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index dc440708e..1499e9847 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -51,14 +51,6 @@
#define MAXSOCKS 64
#define MAXCOMMAND 32
-// flags for use with log()
-
-#define DEBUG 10
-#define VERBOSE 20
-#define DEFAULT 30
-#define SPARSE 40
-#define NONE 50
-
// flags for use with WriteMode
#define WM_AND 1
diff --git a/include/inspircd_io.h b/include/inspircd_io.h
index 200c4a8c2..c09d611bf 100644
--- a/include/inspircd_io.h
+++ b/include/inspircd_io.h
@@ -21,6 +21,14 @@
#include <string>
#include "inspircd.h"
+// flags for use with log()
+
+#define DEBUG 10
+#define VERBOSE 20
+#define DEFAULT 30
+#define SPARSE 40
+#define NONE 50
+
class ServerConfig
{
public:
@@ -82,7 +90,7 @@ class ServerConfig
MaxConn = SOMAXCONN;
MaxWhoResults = 100;
debugging = 0;
- LogLevel = 30;
+ LogLevel = DEFAULT;
DieDelay = 5;
}
};