mirror of
https://github.com/anope/anope.git
synced 2026-07-07 06:33:13 +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:
@@ -89,7 +89,7 @@ class CommandOSLogSearch : public Command
|
||||
|
||||
Log(LOG_ADMIN, source, this) << "for " << search_string;
|
||||
|
||||
const Anope::string &logfile_name = Config->GetModule(this->owner)->Get<const Anope::string &>("logname");
|
||||
const Anope::string &logfile_name = Config->GetModule(this->owner)->Get<const Anope::string>("logname");
|
||||
std::list<Anope::string> matches;
|
||||
for (int d = days - 1; d >= 0; --d)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user