aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chghost.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-02-15 23:15:56 +0000
committerGravatar Sadie Powell2019-02-15 23:15:56 +0000
commitfa6109b3734ed4c21056cf6cf58af60d2388e4e8 (patch)
tree591bf0b35ad180980966aa4df36918e0a64fa9e6 /src/modules/m_chghost.cpp
parentMerge branch 'insp3' into master. (diff)
Replace translation macros with a C++11 initialiser list.
Diffstat (limited to 'src/modules/m_chghost.cpp')
-rw-r--r--src/modules/m_chghost.cpp2
1 files changed, 1 insertions, 1 deletions
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 = "<nick> <newhost>";
- TRANSLATE2(TR_NICK, TR_TEXT);
+ translation = { TR_NICK, TR_TEXT };
}
CmdResult Handle(User* user, const Params& parameters) override