1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 09:16:37 +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:
Adam
2013-05-05 21:05:43 -04:00
parent 3e8752fe66
commit 5b3f81ea78
64 changed files with 260 additions and 266 deletions
+5 -5
View File
@@ -352,12 +352,12 @@ class MChanstats : public Module
void OnReload(Configuration::Conf *conf) anope_override
{
Configuration::Block *block = conf->GetModule(this);
prefix = block->Get<const Anope::string &>("prefix", "anope_");
SmileysHappy = block->Get<const Anope::string &>("SmileysHappy");
SmileysSad = block->Get<const Anope::string &>("SmileysSad");
SmileysOther = block->Get<const Anope::string &>("SmileysOther");
prefix = block->Get<const Anope::string>("prefix", "anope_");
SmileysHappy = block->Get<const Anope::string>("SmileysHappy");
SmileysSad = block->Get<const Anope::string>("SmileysSad");
SmileysOther = block->Get<const Anope::string>("SmileysOther");
Anope::string engine = block->Get<const Anope::string &>("engine");
Anope::string engine = block->Get<const Anope::string>("engine");
this->sql = ServiceReference<SQL::Provider>("SQL::Provider", engine);
if (sql)
this->CheckTables();