diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-31 04:41:35 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-31 04:41:35 +0000 |
commit | a3347b59a1f103d265c68c5880f9dabee1bbfd6a (patch) | |
tree | 87fa2df9f242e8f0dc356b052e7d0da654e0e816 | |
parent | 3c4b3f0407a56f7af135012f9d71ff069c3d5f31 (diff) |
Marked mysql modules as a database module and fixed os_modlist to show database modules
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2845 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | src/core/os_modlist.c | 2 | ||||
-rw-r--r-- | src/modules/mysql/db_mysql.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/os_modlist.c b/src/core/os_modlist.c index 9888e375f..cf40e8711 100644 --- a/src/core/os_modlist.c +++ b/src/core/os_modlist.c @@ -172,7 +172,7 @@ class CommandOSModList : public Command case DATABASE: if (showDB) { - notice_lang(Config.s_OperServ, u, OPER_MODULE_LIST, current->name, current->m->version.c_str(), enc); + notice_lang(Config.s_OperServ, u, OPER_MODULE_LIST, current->name, current->m->version.c_str(), db); ++count; } } diff --git a/src/modules/mysql/db_mysql.h b/src/modules/mysql/db_mysql.h index aeb365563..322eff2e4 100644 --- a/src/modules/mysql/db_mysql.h +++ b/src/modules/mysql/db_mysql.h @@ -228,7 +228,7 @@ class DBMySQL : public Module this->SetAuthor("Anope"); this->SetVersion("$Id$"); - this->SetType(SUPPORTED); + this->SetType(DATABASE); if (!LoadConfig()) throw ModuleException("Couldn't load config"); |