summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-02-18 20:23:43 +0000
committerSadie Powell <sadie@witchery.services>2020-02-18 20:23:43 +0000
commit815ab93a9a03c100abb15ac7bc55b70bfb8e43fd (patch)
tree28084e12e7d6d5fbe4f942ed1c4da19543442ac2
parent042617e97f00c840bb740b0279bf921f4a6cbd01 (diff)
Fix the syntax of the filter module's stats.
-rw-r--r--src/modules/m_filter.cpp2
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)
{