diff options
| author | 2019-02-15 23:15:56 +0000 | |
|---|---|---|
| committer | 2019-02-15 23:15:56 +0000 | |
| commit | fa6109b3734ed4c21056cf6cf58af60d2388e4e8 (patch) | |
| tree | 591bf0b35ad180980966aa4df36918e0a64fa9e6 /src/modules/m_chghost.cpp | |
| parent | Merge 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.cpp | 2 |
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 |
