diff options
author | Sadie Powell <sadie@witchery.services> | 2020-02-18 20:23:43 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-02-18 20:23:43 +0000 |
commit | 815ab93a9a03c100abb15ac7bc55b70bfb8e43fd (patch) | |
tree | 28084e12e7d6d5fbe4f942ed1c4da19543442ac2 | |
parent | 042617e97f00c840bb740b0279bf921f4a6cbd01 (diff) |
Fix the syntax of the filter module's stats.
-rw-r--r-- | src/modules/m_filter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp index 5eef97e3f..9088ac3fa 100644 --- a/src/modules/m_filter.cpp +++ b/src/modules/m_filter.cpp @@ -899,7 +899,7 @@ ModResult ModuleFilter::OnStats(Stats::Context& stats) { for (std::vector<FilterResult>::iterator i = filters.begin(); i != filters.end(); i++) { - stats.AddRow(223, RegexEngine.GetProvider()+":"+i->freeform+" "+i->GetFlags()+" "+FilterActionToString(i->action)+" "+ConvToStr(i->duration)+" :"+i->reason); + stats.AddRow(223, RegexEngine.GetProvider(), i->freeform, i->GetFlags(), FilterActionToString(i->action), i->duration, i->reason); } for (ExemptTargetSet::const_iterator i = exemptedchans.begin(); i != exemptedchans.end(); ++i) { |