aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-18 17:23:27 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-18 17:23:27 +0400
commit80422de224dae1d68b3ff9e9c3c6abf780367e36 (patch)
treedc9f7331d8a63d913c59134b4023618122a08d29 /src
parent5eb0717f2e58711f850c3f99f7163c105fda12c5 (diff)
downloadrspamd-80422de224dae1d68b3ff9e9c3c6abf780367e36.tar.gz
rspamd-80422de224dae1d68b3ff9e9c3c6abf780367e36.zip
Fix textpart:get_language lua function.
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_task.c1
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;
}
}