aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-08-17 12:44:51 +0100
committerGitHub <noreply@github.com>2023-08-17 12:44:51 +0100
commitdbaf8c69895ec2a90a20dbf41b4fa474ac12910b (patch)
treeb9ff352e71a6a46914859063e00999793c6ba7f6 /src/plugins
parente74199003982c88aea6367922042a7291bbe1bde (diff)
parent87c6b54923fb5bc8105d5adecf33b5f7fa926d65 (diff)
downloadrspamd-dbaf8c69895ec2a90a20dbf41b4fa474ac12910b.tar.gz
rspamd-dbaf8c69895ec2a90a20dbf41b4fa474ac12910b.zip
Merge pull request #4573 from rspamd/cfg_utils_rework
[Project] Rewrite configuration utils in C++
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/regexp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index 22a348669..59a84c507 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -1,11 +1,11 @@
-/*-
- * Copyright 2016 Vsevolod Stakhov
+/*
+ * Copyright 2023 Vsevolod Stakhov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -140,7 +140,7 @@ gint regexp_module_config(struct rspamd_config *cfg, bool validate)
return TRUE;
}
- sec = ucl_object_lookup(cfg->rcl_obj, "regexp");
+ sec = ucl_object_lookup(cfg->cfg_ucl_obj, "regexp");
if (sec == NULL) {
msg_err_config("regexp module enabled, but no rules are defined");
return TRUE;