]> jfr.im git - irc/unrealircd/unrealircd.git/commit
Fix STATS output for config-based spamfilters with reasons with spaces.
authorBram Matthys <redacted>
Fri, 6 Oct 2023 05:36:26 +0000 (07:36 +0200)
committerBram Matthys <redacted>
Fri, 6 Oct 2023 05:36:26 +0000 (07:36 +0200)
commit45002eeb6ff459c4e8a859b5e895a5fe10d4dac4
tree028a57c55d2a50a8704e097823dd6674497f3972
parent25d5a2ac641b3882dfabe456ee3d6bf8efddc4c7
Fix STATS output for config-based spamfilters with reasons with spaces.

For config-based spamfilters, the reason was not escaped, meaning that
spaces and underscores did not work as expected.
For example, in "STATS spamfilter" the spaces were displayed as-is
which means that the numeric output was not really parsable.

Apparently this bug exists since UnrealIRCd 5 already...
src/modules/tkl.c