diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-05 22:47:28 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-05 22:47:28 +0300 |
commit | c9af649b3316857e77ec3509ca93c4a4ff37f477 (patch) | |
tree | 5b997f78a49366d3bb07f32cae29ed6b4dd25cf4 /src/lua/lua_common.c | |
parent | 5b4b47c6c4d81d0ca082617293d7284396998e0d (diff) | |
download | rspamd-c9af649b3316857e77ec3509ca93c4a4ff37f477.tar.gz rspamd-c9af649b3316857e77ec3509ca93c4a4ff37f477.zip |
* Add ability to lookup CDB maps from lua
* Add cdb:// map to multimap plugin
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r-- | src/lua/lua_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index 1f9f7285d..ada44981b 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -238,6 +238,7 @@ init_lua (struct config_file *cfg) (void)luaopen_classifier (L); (void)luaopen_statfile (L); (void)luaopen_glib_regexp (L); + (void)luaopen_cdb (L); cfg->lua_state = L; memory_pool_add_destructor (cfg->cfg_pool, (pool_destruct_func)lua_close, L); |