diff options
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/backends/redis_backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/backends/redis_backend.c b/src/libstat/backends/redis_backend.c index 406b76ab5..61644d004 100644 --- a/src/libstat/backends/redis_backend.c +++ b/src/libstat/backends/redis_backend.c @@ -240,7 +240,7 @@ rspamd_redis_expand_object (const gchar *pattern, } } - if (target == NULL) { + if (target == NULL || task == NULL) { return tlen; } |