diff --git a/src/modules/tkl.c b/src/modules/tkl.c index c6c094374..d21df5811 100644 --- a/src/modules/tkl.c +++ b/src/modules/tkl.c @@ -638,6 +638,7 @@ int tkl_config_run_spamfilter(ConfigFile *cf, ConfigEntry *ce, int type) if (match) m = unreal_create_match(match_type, match, NULL); + banreason = unreal_encodespace(banreason); tkl_add_spamfilter(TKL_SPAMF, id, target,