1
0
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:
Adam
2013-08-25 00:14:17 -04:00
parent 446b3a910d
commit 00a19529c3
7 changed files with 30 additions and 0 deletions
+2
View File
@@ -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);