summaryrefslogtreecommitdiff
path: root/modules/hostserv/add.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hostserv/add.cpp')
-rw-r--r--modules/hostserv/add.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hostserv/add.cpp b/modules/hostserv/add.cpp
index f9388c975..3448dbc41 100644
--- a/modules/hostserv/add.cpp
+++ b/modules/hostserv/add.cpp
@@ -101,7 +101,7 @@ class CommandHSAdd : public Command
}
Anope::string mask = (!user.empty() ? user + "@" : "") + host;
- Log(LOG_ADMIN, source, this) << "to add the vhost " << mask << " to " << na->GetAccount()->GetDisplay();
+ logger.Command(LogType::ADMIN, source, _("{source} used {command} to add the vhost {0} to {1}"), mask, na->GetAccount()->GetDisplay());
HostServ::VHost *vhost = Serialize::New<HostServ::VHost *>();
if (vhost == nullptr)