summaryrefslogtreecommitdiff
path: root/modules/chanserv/clone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/clone.cpp')
-rw-r--r--modules/chanserv/clone.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/chanserv/clone.cpp b/modules/chanserv/clone.cpp
index 8d0c1ce3a..343e6c5b2 100644
--- a/modules/chanserv/clone.cpp
+++ b/modules/chanserv/clone.cpp
@@ -209,7 +209,8 @@ public:
return;
}
- Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "to clone " << (what.empty() ? "everything from it" : what) << " to " << target_ci->GetName();
+ logger.Command(override ? LogType::OVERRIDE : LogType::COMMAND, source, ci, _("{source} used {command} on {channel} to clone {0} to {1}"),
+ what.empty() ? "everything from it" : what, target_ci->GetName());
}
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override