diff options
-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"); |