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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user