summaryrefslogtreecommitdiff
path: root/modules/operserv/login.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/operserv/login.cpp
parent9ad06f49bbb3824139b0c0ee0a74898a18c8f735 (diff)
Track override in CommandSource and use it in the logger
Diffstat (limited to 'modules/operserv/login.cpp')
-rw-r--r--modules/operserv/login.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/operserv/login.cpp b/modules/operserv/login.cpp
index f9dcdd38f..060b8f1eb 100644
--- a/modules/operserv/login.cpp
+++ b/modules/operserv/login.cpp
@@ -59,7 +59,7 @@ class CommandOSLogin : public Command
return;
}
- logger.Command(LogType::ADMIN, source, _("{source} used {command} and successfully identified to {0}"), source.service->nick);
+ logger.Admin(source, _("{source} used {command} and successfully identified to {0}"), source.service->nick);
u->Extend<bool>("os_login", true);
source.Reply(_("Password accepted."));
@@ -107,7 +107,7 @@ class CommandOSLogout : public Command
return;
}
- logger.Command(LogType::ADMIN, source, _("{source} used {command}"));
+ logger.Admin(source, _("{source} used {command}"));
u->Shrink<bool>("os_login");
source.Reply(_("You have been logged out."));