diff options
author | Adam <Adam@anope.org> | 2014-02-26 19:32:25 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-02-26 19:32:25 -0500 |
commit | abcf0cde5a6a28acf492cf158185861632d4ac44 (patch) | |
tree | d62a2050872bff97228c2fe6413c5cece8ee08f7 /src/config.cpp | |
parent | 8f3bd314ed3ce371d2f40687920246e6944376f6 (diff) |
Remove unreachable code in config.cpp, this error is caught earlier
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/config.cpp b/src/config.cpp index 167679ecb..0275cb7f8 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -846,12 +846,6 @@ void Conf::LoadConf(File &file) if (b) Log(LOG_DEBUG) << "ln " << linenumber << " EOL: s='" << b->name << "' '" << itemname << "' set to '" << wordbuffer << "'"; - if (itemname.empty()) - { - file.Close(); - throw ConfigException("Item without a name: " + file.GetName() + ":" + stringify(linenumber)); - } - /* Check defines */ for (int i = 0; i < this->CountBlock("define"); ++i) { |