1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 16:43:12 +02:00

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
This commit is contained in:
Adam-
2010-03-31 04:41:35 +00:00
parent 3c4b3f0407
commit a3347b59a1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}
}
+1 -1
View File
@@ -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");