From 5b3f81ea78f7a8ab69ff94cbf2bbf07f5966682e Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 5 May 2013 21:05:43 -0400 Subject: That doesn't work either, just don't use references. find ./ -name '*.cpp' -exec sed -i 's/Get/Get/g' {} \; --- modules/extra/m_sqlite.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/extra/m_sqlite.cpp') diff --git a/modules/extra/m_sqlite.cpp b/modules/extra/m_sqlite.cpp index b0f947985..91bdd4e64 100644 --- a/modules/extra/m_sqlite.cpp +++ b/modules/extra/m_sqlite.cpp @@ -89,7 +89,7 @@ class ModuleSQLite : public Module ++it; for (i = 0, num = config->CountBlock("sqlite"); i < num; ++i) - if (config->GetBlock("sqlite", i)->Get("name", "sqlite/main") == cname) + if (config->GetBlock("sqlite", i)->Get("name", "sqlite/main") == cname) break; if (i == num) @@ -104,11 +104,11 @@ class ModuleSQLite : public Module for (int i = 0; i < config->CountBlock("sqlite"); ++i) { Configuration::Block *block = config->GetBlock("sqlite", i); - Anope::string connname = block->Get("name", "sqlite/main"); + Anope::string connname = block->Get("name", "sqlite/main"); if (this->SQLiteServices.find(connname) == this->SQLiteServices.end()) { - Anope::string database = Anope::DataDir + "/" + block->Get("database", "anope"); + Anope::string database = Anope::DataDir + "/" + block->Get("database", "anope"); try { -- cgit