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_sanick.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Replace translation macros with a C++11 initialiser list.
Diffstat (limited to 'src/modules/m_sanick.cpp')
| -rw-r--r-- | src/modules/m_sanick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp index c5fbe1a1c..3d809f5d4 100644 --- a/src/modules/m_sanick.cpp +++ b/src/modules/m_sanick.cpp @@ -30,7 +30,7 @@ class CommandSanick : public Command { allow_empty_last_param = false; flags_needed = 'o'; syntax = "<nick> <new-nick>"; - TRANSLATE2(TR_NICK, TR_TEXT); + translation = { TR_NICK, TR_TEXT }; } CmdResult Handle(User* user, const Params& parameters) override |
