1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 13:16:38 +02:00

Pretty large coding style cleanup, in source doc

cleanup, and allow protocol mods to depend on each
other
This commit is contained in:
Adam
2012-11-22 00:50:33 -05:00
parent 368d469631
commit d33a0f75a5
303 changed files with 7880 additions and 9388 deletions
+3 -3
View File
@@ -107,7 +107,7 @@ class ModuleSQLite : public Module
if (this->SQLiteServices.find(connname) == this->SQLiteServices.end())
{
Anope::string database = db_dir + "/" + config.ReadValue("sqlite", "database", "anope", i);
Anope::string database = Anope::DataDir + "/" + config.ReadValue("sqlite", "database", "anope", i);
try
{
@@ -214,7 +214,7 @@ std::vector<SQLQuery> SQLiteService::CreateTable(const Anope::string &table, con
known_cols.insert(it->first);
query_text += ", `" + it->first + "` ";
if (it->second.getType() == Serialize::DT_INT)
if (it->second.GetType() == Serialize::DT_INT)
query_text += "int(11)";
else
query_text += "text";
@@ -242,7 +242,7 @@ std::vector<SQLQuery> SQLiteService::CreateTable(const Anope::string &table, con
known_cols.insert(it->first);
Anope::string query_text = "ALTER TABLE `" + table + "` ADD `" + it->first + "` ";
if (it->second.getType() == Serialize::DT_INT)
if (it->second.GetType() == Serialize::DT_INT)
query_text += "int(11)";
else
query_text += "text";