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...
if (match)
m = unreal_create_match(match_type, match, NULL);
+ banreason = unreal_encodespace(banreason);
tkl_add_spamfilter(TKL_SPAMF,
id,
target,