summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-08-06 20:23:26 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-08-06 20:23:26 +0400
commitd4e72a21bf33ee1a26d6ef34692b662189efa3db (patch)
tree4ddde3788164c31d480e9965ecd151647a007d27 /src/lua/lua_common.c
parent3c55ba0d2d3c316746c8f9b6b5139493d6305e62 (diff)
downloadrspamd-d4e72a21bf33ee1a26d6ef34692b662189efa3db.tar.gz
rspamd-d4e72a21bf33ee1a26d6ef34692b662189efa3db.zip
* Add lua mime_part library to get an access to all message part attributes (like filename, length, type)0.5.1
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r--src/lua/lua_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index 6a671cf00..3f66c3fcd 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -429,6 +429,7 @@ init_lua (struct config_file *cfg)
(void)luaopen_trie (L);
(void)luaopen_task (L);
(void)luaopen_textpart (L);
+ (void)luaopen_mimepart (L);
(void)luaopen_image (L);
(void)luaopen_url (L);
(void)luaopen_message (L);