1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 00:36:37 +02:00

Merge branch '2.0' into 2.1.

This commit is contained in:
Sadie Powell
2023-02-19 11:18:36 +00:00
17 changed files with 579 additions and 25124 deletions
+6 -1
View File
@@ -942,5 +942,10 @@ void Conf::LoadConf(File &file)
if (!itemname.empty() || !wordbuffer.empty())
throw ConfigException("Unexpected garbage at end of file: " + file.GetName());
if (!block_stack.empty())
throw ConfigException("Unterminated block at end of file: " + file.GetName() + ". Block was opened on line " + stringify(block_stack.top()->linenum));
{
if (block_stack.top())
throw ConfigException("Unterminated block at end of file: " + file.GetName() + ". Block was opened on line " + stringify(block_stack.top()->linenum));
else
throw ConfigException("Unterminated commented block at end of file: " + file.GetName());
}
}