mirror of
https://github.com/anope/anope.git
synced 2026-07-05 01:13:12 +02:00
Add logging to several operserv commands
This commit is contained in:
@@ -27,6 +27,11 @@ class CommandOSChanList : public Command
|
||||
std::set<Anope::string> modes;
|
||||
User *u2;
|
||||
|
||||
if (!pattern.empty())
|
||||
Log(LOG_ADMIN, source, this) << "for " << pattern;
|
||||
else
|
||||
Log(LOG_ADMIN, source, this);
|
||||
|
||||
if (!opt.empty() && opt.equals_ci("SECRET"))
|
||||
{
|
||||
modes.insert("SECRET");
|
||||
@@ -129,6 +134,11 @@ class CommandOSUserList : public Command
|
||||
Channel *c;
|
||||
std::set<Anope::string> modes;
|
||||
|
||||
if (!pattern.empty())
|
||||
Log(LOG_ADMIN, source, this) << "for " << pattern;
|
||||
else
|
||||
Log(LOG_ADMIN, source, this);
|
||||
|
||||
if (!opt.empty() && opt.equals_ci("INVISIBLE"))
|
||||
modes.insert("INVIS");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user