mirror of
https://github.com/anope/anope.git
synced 2026-06-29 13:56:38 +02:00
That doesn't work either, just don't use references.
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
This commit is contained in:
@@ -368,7 +368,7 @@ struct IRCDMessageCapab : Message::Capab
|
||||
else if (module.find("m_rline.so") == 0)
|
||||
{
|
||||
Servers::Capab.insert("RLINE");
|
||||
const Anope::string ®exengine = Config->GetBlock("options")->Get<const Anope::string &>("regexengine");
|
||||
const Anope::string ®exengine = Config->GetBlock("options")->Get<const Anope::string>("regexengine");
|
||||
if (!regexengine.empty() && module.length() > 11 && regexengine != module.substr(11))
|
||||
Log() << "Warning: InspIRCd is using regex engine " << module.substr(11) << ", but we have " << regexengine << ". This may cause inconsistencies.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user