mirror of
https://github.com/anope/anope.git
synced 2026-07-07 21:23: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:
@@ -230,7 +230,7 @@ class CommandOSForbid : public Command
|
||||
source.Reply(_("Forbid allows you to forbid usage of certain nicknames, channels,\n"
|
||||
"and email addresses. Wildcards are accepted for all entries."));
|
||||
|
||||
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())
|
||||
{
|
||||
source.Reply(" ");
|
||||
|
||||
Reference in New Issue
Block a user