summaryrefslogtreecommitdiff
path: root/modules/nickserv/set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-02-06 14:23:18 -0500
committerAdam <Adam@anope.org>2017-02-06 14:23:18 -0500
commit8b694bc392c36551e428b84454efb81cdbc8bcd3 (patch)
treeca3d1ca8aadac280c149518134de4208f91dad84 /modules/nickserv/set.cpp
parent9ad06f49bbb3824139b0c0ee0a74898a18c8f735 (diff)
Track override in CommandSource and use it in the logger
Diffstat (limited to 'modules/nickserv/set.cpp')
-rw-r--r--modules/nickserv/set.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/nickserv/set.cpp b/modules/nickserv/set.cpp
index f38422d48..8995599ae 100644
--- a/modules/nickserv/set.cpp
+++ b/modules/nickserv/set.cpp
@@ -216,7 +216,7 @@ class CommandNSSASetPassword : public Command
return;
}
- logger.Command(LogType::ADMIN, source, _("{source} used {command} to change the password of {0}"), nc->GetDisplay());
+ logger.Admin(source, _("{source} used {command} to change the password of {0}"), nc->GetDisplay());
Anope::string tmp_pass;
Anope::Encrypt(params[1], tmp_pass);
@@ -1079,7 +1079,7 @@ class CommandNSSASetNoexpire : public Command
if (param.equals_ci("ON"))
{
- logger.Command(LogType::ADMIN, source, _("{source} used {command} to enable {0} for {1}"),
+ logger.Admin(source, _("{source} used {command} to enable {0} for {1}"),
"NOEXPIRE", na->GetAccount()->GetDisplay());
na->SetNoExpire(true);
@@ -1087,7 +1087,7 @@ class CommandNSSASetNoexpire : public Command
}
else if (param.equals_ci("OFF"))
{
- logger.Command(LogType::ADMIN, source, _("{source} used {command} to disable {0} for {1}"),
+ logger.Admin(source, _("{source} used {command} to disable {0} for {1}"),
"NOEXPIRE", na->GetAccount()->GetDisplay());
na->SetNoExpire(false);