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:
@@ -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 ¶m = !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"))
|
||||
|
||||
Reference in New Issue
Block a user