summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-13 20:37:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-13 20:37:38 +0000
commitab7bdcacb7151ad1ed24de3d272ac91be119db22 (patch)
tree5e2f5c30a6ddeefbeaded07fedd92a8962278eff
parent5c53f05f766458af333a67b22733ae680fba788a (diff)
Try this pipp and see if the bug manifests in a different place
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5233 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/configreader.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 81ed63bf2..293cf9964 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -629,24 +629,8 @@ void ServerConfig::Read(bool bail, userrec* user)
if (this->LoadConf(newconfig, CONFIG_FILE, errstr))
{
/* If we succeeded, set the ircd config to the new one */
- this->config_data = newconfig;
-
-/* int c = 1;
- std::string last;
-
- for(ConfigDataHash::const_iterator i = this->config_data.begin(); i != this->config_data.end(); i++)
- {
- c = (i->first != last) ? 1 : c+1;
- last = i->first;
-
- std::cout << "[" << i->first << " " << c << "/" << this->config_data.count(i->first) << "]" << std::endl;
-
- for(KeyValList::const_iterator j = i->second.begin(); j != i->second.end(); j++)
- std::cout << "\t" << j->first << " = " << j->second << std::endl;
-
- std::cout << "[/" << i->first << " " << c << "/" << this->config_data.count(i->first) << "]" << std::endl;
- }
- */ }
+ this->config_data = newconfig;
+ }
else
{
ServerInstance->Log(DEFAULT, "There were errors in your configuration:\n%s", errstr.str().c_str());