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

Add logging to several operserv commands

This commit is contained in:
Adam
2013-08-25 00:14:17 -04:00
parent 446b3a910d
commit 00a19529c3
7 changed files with 30 additions and 0 deletions
+7
View File
@@ -24,6 +24,8 @@ class CommandOSModInfo : public Command
{
const Anope::string &file = params[0];
Log(LOG_ADMIN, source, this) << "on " << file;
Module *m = ModuleManager::FindModule(file);
if (m)
{
@@ -81,6 +83,11 @@ class CommandOSModList : public Command
{
const Anope::string &param = !params.empty() ? params[0] : "";
if (!param.empty())
Log(LOG_ADMIN, source, this) << "for " << param;
else
Log(LOG_ADMIN, source, this);
bool third = false, extra = false, vendor = false, database = false, encryption = false, pseudoclient = false, protocol = false;
if (param.equals_ci("all"))