mirror of
https://github.com/anope/anope.git
synced 2026-07-04 22:33:12 +02:00
Add logging to several operserv commands
This commit is contained in:
@@ -201,6 +201,8 @@ class CommandOSStats : public Command
|
||||
{
|
||||
Anope::string extra = !params.empty() ? params[0] : "";
|
||||
|
||||
Log(LOG_ADMIN, source, this) << extra;
|
||||
|
||||
if (extra.equals_ci("RESET"))
|
||||
return this->DoStatsReset(source);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user