aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-24 19:48:52 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-24 19:48:52 +0000
commitf90765d9c840b17ad68fe2f422807f70ab08ae41 (patch)
tree020754186cfa2710a0d04524fac12ac87dc39bd4 /src/libstat
parent19bfd5e302954bf2ce1f892dc46ba1bb08c15aa8 (diff)
downloadrspamd-f90765d9c840b17ad68fe2f422807f70ab08ae41.tar.gz
rspamd-f90765d9c840b17ad68fe2f422807f70ab08ae41.zip
[Minor] Oops, fix refactoring aftermath
Diffstat (limited to 'src/libstat')
-rw-r--r--src/libstat/backends/redis_backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/backends/redis_backend.c b/src/libstat/backends/redis_backend.c
index 8536b80e3..c58f1e682 100644
--- a/src/libstat/backends/redis_backend.c
+++ b/src/libstat/backends/redis_backend.c
@@ -208,7 +208,7 @@ rspamd_redis_expand_object (const gchar *pattern,
state = just_char;
break;
case 'u':
- elt = GET_TASK_ELT (task, user);
+ elt = GET_TASK_ELT (task, auth_user);
if (elt) {
tlen += strlen (elt);
}
@@ -299,7 +299,7 @@ rspamd_redis_expand_object (const gchar *pattern,
state = just_char;
break;
case 'u':
- elt = GET_TASK_ELT (task, user);
+ elt = GET_TASK_ELT (task, auth_user);
if (elt) {
d += rspamd_strlcpy (d, elt, end - d);
}