mirror of
https://github.com/anope/anope.git
synced 2026-06-26 07:36:39 +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:
+1
-1
@@ -377,7 +377,7 @@ const Anope::string Servers::TS6_SID_Retrieve()
|
||||
if (!IRCD || !IRCD->RequiresID)
|
||||
return "";
|
||||
|
||||
static Anope::string current_sid = Config->GetBlock("options")->Get<const Anope::string &>("id");
|
||||
static Anope::string current_sid = Config->GetBlock("options")->Get<const Anope::string>("id");
|
||||
if (current_sid.empty())
|
||||
current_sid = "00A";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user