aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_silence.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_silence.cpp
parentMerge branch 'insp3' into master. (diff)
downloadinspircd++-fa6109b3734ed4c21056cf6cf58af60d2388e4e8.tar.gz
inspircd++-fa6109b3734ed4c21056cf6cf58af60d2388e4e8.tar.bz2
inspircd++-fa6109b3734ed4c21056cf6cf58af60d2388e4e8.zip
Replace translation macros with a C++11 initialiser list.
Diffstat (limited to 'src/modules/m_silence.cpp')
-rw-r--r--src/modules/m_silence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index b650cf91d..5c4a8c630 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -75,7 +75,7 @@ class CommandSVSSilence : public Command
CommandSVSSilence(Module* Creator) : Command(Creator,"SVSSILENCE", 2)
{
syntax = "<target> {[+|-]<mask> <p|c|i|n|t|a|x>}";
- TRANSLATE3(TR_NICK, TR_TEXT, TR_TEXT);
+ translation = { TR_NICK, TR_TEXT, TR_TEXT };
}
CmdResult Handle(User* user, const Params& parameters) override