mirror of
https://github.com/anope/anope.git
synced 2026-06-28 17: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:
@@ -140,8 +140,8 @@ class SSLModule : public Module
|
||||
{
|
||||
Configuration::Block *config = conf->GetModule(this);
|
||||
|
||||
this->certfile = config->Get<const Anope::string &>("cert", "data/anope.crt");
|
||||
this->keyfile = config->Get<const Anope::string &>("key", "data/anope.key");
|
||||
this->certfile = config->Get<const Anope::string>("cert", "data/anope.crt");
|
||||
this->keyfile = config->Get<const Anope::string>("key", "data/anope.key");
|
||||
|
||||
if (Anope::IsFile(this->certfile.c_str()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user