mirror of
https://github.com/anope/anope.git
synced 2026-06-28 21:36:37 +02:00
Trying to make things a little more const-safe, a work in progress but this is a bit better.
This commit is contained in:
@@ -92,7 +92,7 @@ void ConfigReader::DumpErrors(bool bail)
|
||||
Config.ReportConfigError(this->errorlog->str(), bail);
|
||||
}
|
||||
|
||||
int ConfigReader::Enumerate(const Anope::string &tag)
|
||||
int ConfigReader::Enumerate(const Anope::string &tag) const
|
||||
{
|
||||
return Config.ConfValueEnum(*this->data, tag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user