summaryrefslogtreecommitdiff
path: root/modules/commands/ms_ignore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ms_ignore.cpp')
-rw-r--r--modules/commands/ms_ignore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_ignore.cpp b/modules/commands/ms_ignore.cpp
index 8e0f1de9e..4543689b2 100644
--- a/modules/commands/ms_ignore.cpp
+++ b/modules/commands/ms_ignore.cpp
@@ -58,7 +58,7 @@ class CommandMSIgnore : public Command
if (std::find(mi->ignores.begin(), mi->ignores.end(), param.ci_str()) == mi->ignores.end())
{
- mi->ignores.push_back(param.ci_str());
+ mi->ignores.emplace_back(param.ci_str());
source.Reply(_("\002%s\002 added to ignore list."), param.c_str());
}
else