summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-26 19:52:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-26 19:52:23 +0000
commit96cb611e14dab99d8b9b07f772e9c7962fcda0df (patch)
tree3df1054db9f698ae6a97d7a6a6d30066e2b9a652 /src/configreader.cpp
parent75327637e73bed15dd1cb869f034183a03781752 (diff)
EXECUTABLE INCLUDES works! :D
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9039 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index d0fff119f..7ca1a8125 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -520,13 +520,6 @@ bool InitConnect(ServerConfig* conf, const char*)
{
conf->GetInstance()->Logs->Log("CONFIG",DEFAULT,"Reading connect classes...");
- for (ClassVector::iterator i = conf->Classes.begin(); i != conf->Classes.end(); i++)
- {
- ConnectClass *c = *i;
-
- conf->GetInstance()->Logs->Log("CONFIG",DEBUG, "Address of class is %p", c);
- }
-
for (ClassVector::iterator i = conf->Classes.begin(); i != conf->Classes.end() ; )
{
ConnectClass* c = *i;
@@ -1281,6 +1274,8 @@ bool ServerConfig::LoadConf(ConfigDataHash &target, FILE* &conf, const char* fil
in_quote = false;
in_comment = false;
+ ServerInstance->Logs->Log("CONFIG", DEBUG, "Reading %s", filename);
+
/* Check if the file open failed first */
if (!conf)
{
@@ -1304,7 +1299,6 @@ bool ServerConfig::LoadConf(ConfigDataHash &target, FILE* &conf, const char* fil
while (!feof(conf))
{
ch = fgetc(conf);
-
/*
* Fix for moronic windows issue spotted by Adremelech.
* Some windows editors save text files as utf-16, which is