From a3347b59a1f103d265c68c5880f9dabee1bbfd6a Mon Sep 17 00:00:00 2001 From: Adam- Date: Wed, 31 Mar 2010 04:41:35 +0000 Subject: [PATCH] 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 --- src/core/os_modlist.c | 2 +- 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");