diff options
Diffstat (limited to 'src/modules/m_dnsbl.cpp')
| -rw-r--r-- | src/modules/m_dnsbl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index ac7dccfe5..ec8fafda6 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -503,13 +503,13 @@ class ModuleDNSBL final total_misses += dnsbl->stats_misses; total_errors += dnsbl->stats_errors; - stats.AddRow(304, InspIRCd::Format("DNSBLSTATS \"%s\" had %lu hits, %lu misses, and %lu errors", + stats.AddGenericRow(InspIRCd::Format("The \"%s\" DNSBL had %lu hits, %lu misses, and %lu errors", dnsbl->name.c_str(), dnsbl->stats_hits, dnsbl->stats_misses, dnsbl->stats_errors)); } - stats.AddRow(304, "DNSBLSTATS Total hits: " + ConvToStr(total_hits)); - stats.AddRow(304, "DNSBLSTATS Total misses: " + ConvToStr(total_misses)); - stats.AddRow(304, "DNSBLSTATS Total errors: " + ConvToStr(total_errors)); + stats.AddGenericRow("Total DNSBL hits: " + ConvToStr(total_hits)); + stats.AddGenericRow("Total DNSBL misses: " + ConvToStr(total_misses)); + stats.AddGenericRow("Total DNSBL errors: " + ConvToStr(total_errors)); return MOD_RES_PASSTHRU; } }; |
