summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-10 17:39:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-10 17:39:19 +0000
commit024048d646e5b98846e9967984ad452d2d6bf210 (patch)
tree2fbe3f4b4b8b0b6f7be827d4fa716320fa4bf754 /src/inspircd_io.cpp
parent4c5acb6a26da3aa16123e848d22e96799e545d2c (diff)
Moved more stuff into right places
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3637 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index d167c5034..825b4eb31 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -567,6 +567,16 @@ void ServerConfig::Read(bool bail, userrec* user)
{DT_CHARPTR, DT_CHARPTR},
InitXLine, DoELine, DoneXLine},
+ {"type",
+ {"name", "classes", NULL},
+ {DT_CHARPTR, DT_CHARPTR},
+ InitTypes, DoType, DoneClassesAndTypes},
+
+ {"class",
+ {"name", "commands", NULL},
+ {DT_CHARPTR, DT_CHARPTR},
+ InitClasss, DoClass, DoneClassesAndTypes},
+
{NULL}
};
@@ -693,8 +703,6 @@ void ServerConfig::Read(bool bail, userrec* user)
for (int n = 0; n < 12; n++)
delete[] data[n];
- ReadClassesAndTypes();
-
// write once here, to try it out and make sure its ok
WritePID(Config->PID);