From ab7bdcacb7151ad1ed24de3d272ac91be119db22 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Sep 2006 20:37:38 +0000 Subject: 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 --- src/configreader.cpp | 20 ++------------------ 1 file 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()); -- cgit v1.2.3