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

Fixed /os modinfo command output

This commit is contained in:
Adam
2010-09-19 16:08:21 -04:00
parent aa9ab7c6db
commit 1e3d2f3739
+2 -2
View File
@@ -90,9 +90,9 @@ static int showModuleCmdLoaded(BotInfo *bi, const Anope::string &mod_name, User
{
Command *c = it->second;
if (c->module && c->module->name.equals_ci(mod_name))
if (c->module && c->module->name.equals_ci(mod_name) && c->service)
{
notice_lang(Config->s_OperServ, u, OPER_MODULE_CMD_LIST, c->service, c->name.c_str());
notice_lang(Config->s_OperServ, u, OPER_MODULE_CMD_LIST, c->service->nick.c_str(), c->name.c_str());
++display;
}
}