diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-08 16:07:25 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-08 16:07:25 +0100 |
commit | 7cc8754ad93be42cf7cd6f1cba68621c93accf89 (patch) | |
tree | 7a433b3ae9ec12b73090afd874b2a12399277cee /src/plugins | |
parent | 4e4beec4cdfa633546a599823280af96b0b61bb7 (diff) | |
download | rspamd-7cc8754ad93be42cf7cd6f1cba68621c93accf89.tar.gz rspamd-7cc8754ad93be42cf7cd6f1cba68621c93accf89.zip |
Adopt to lua 5.2.
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c index 91543d2c4..b838b1ee6 100644 --- a/src/plugins/regexp.c +++ b/src/plugins/regexp.c @@ -175,7 +175,7 @@ task_cache_check (struct worker_task *task, struct rspamd_regexp *re) static gint luaopen_regexp (lua_State * L) { - luaL_openlib (L, "rspamd_regexp", regexplib_m, 0); + luaL_register (L, "rspamd_regexp", regexplib_m); return 1; } |