summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-18 12:46:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-18 12:46:34 +0100
commitdb44cc510d4991859d2682d4b8a18dc9a88be5cd (patch)
treea8501c60abdf7e99b4b1b3165b4b9818d8efac0a /src
parentc69f378fa39821caadd601c69909c829ffe31ea4 (diff)
downloadrspamd-db44cc510d4991859d2682d4b8a18dc9a88be5cd.tar.gz
rspamd-db44cc510d4991859d2682d4b8a18dc9a88be5cd.zip
[Rules] Add dedicated bitcoin addresses filter rule
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_mimepart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_mimepart.c b/src/lua/lua_mimepart.c
index 2981939a0..5401ed031 100644
--- a/src/lua/lua_mimepart.c
+++ b/src/lua/lua_mimepart.c
@@ -930,7 +930,7 @@ lua_textpart_filter_words (lua_State *L)
}
else {
if (lua_type (L, 3) == LUA_TSTRING) {
- const gchar *how_str = lua_tostring (L, 2);
+ const gchar *how_str = lua_tostring (L, 3);
how = word_extract_type_from_string (how_str);