diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-18 17:23:27 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-18 17:23:27 +0400 |
commit | 80422de224dae1d68b3ff9e9c3c6abf780367e36 (patch) | |
tree | dc9f7331d8a63d913c59134b4023618122a08d29 /src | |
parent | 5eb0717f2e58711f850c3f99f7163c105fda12c5 (diff) | |
download | rspamd-80422de224dae1d68b3ff9e9c3c6abf780367e36.tar.gz rspamd-80422de224dae1d68b3ff9e9c3c6abf780367e36.zip |
Fix textpart:get_language lua function.
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/lua_task.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index f217ee0b2..a6530160f 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1337,6 +1337,7 @@ lua_textpart_get_language (lua_State * L) sel = languages[part->script]; if (*sel != '\0') { lua_pushstring (L, sel); + return 1; } } |