diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-15 19:48:21 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-15 19:48:21 +0300 |
commit | 21596f21a35a4d0e110c04824dcda5ef37450003 (patch) | |
tree | 2228e8678b8f72d07b5f84b3efbc3d20cda6c5fc /src/lua/lua_common.c | |
parent | 17a938b2aeffb3448c8d61f3d8dd7d012eb910cc (diff) | |
download | rspamd-21596f21a35a4d0e110c04824dcda5ef37450003.tar.gz rspamd-21596f21a35a4d0e110c04824dcda5ef37450003.zip |
* Add new lua module regexp for using glib regular expressions (pcre compatible)
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r-- | src/lua/lua_common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index 961a31d76..14bd6877a 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -232,13 +232,12 @@ init_lua (struct config_file *cfg) (void)luaopen_message (L); (void)luaopen_classifier (L); (void)luaopen_statfile (L); + (void)luaopen_glib_regexp (L); cfg->lua_state = L; memory_pool_add_destructor (cfg->cfg_pool, (pool_destruct_func)lua_close, L); } - - gboolean init_lua_filters (struct config_file *cfg) { |