From fa6109b3734ed4c21056cf6cf58af60d2388e4e8 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 15 Feb 2019 23:15:56 +0000 Subject: Replace translation macros with a C++11 initialiser list. --- src/modules/m_chghost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_chghost.cpp') diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 4b7b144f2..46e644551 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -34,7 +34,7 @@ class CommandChghost : public Command allow_empty_last_param = false; flags_needed = 'o'; syntax = " "; - TRANSLATE2(TR_NICK, TR_TEXT); + translation = { TR_NICK, TR_TEXT }; } CmdResult Handle(User* user, const Params& parameters) override -- cgit v1.3.1-10-gc9f91