mirror of
https://github.com/anope/anope.git
synced 2026-07-05 01:53:13 +02:00
Remove unreachable code in config.cpp, this error is caught earlier
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user