aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-11-04 12:32:49 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-11-04 12:32:49 +0000
commitecca6ad84f2f5da9a201dd37cb493be114b68402 (patch)
treeea1eeb06f1f6db01438c23dbb9f6f44d33cf7c29 /src
parent1a1f4f0db14f506e53754102d3a62fb7f6f83c7f (diff)
downloadrspamd-ecca6ad84f2f5da9a201dd37cb493be114b68402.tar.gz
rspamd-ecca6ad84f2f5da9a201dd37cb493be114b68402.zip
Detect HAN unicode script.
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index d190373dd..35d7b5c63 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -2008,7 +2008,7 @@ lua_textpart_get_language (lua_State * L)
"el", /* G_UNICODE_SCRIPT_GREEK */
"gu", /* G_UNICODE_SCRIPT_GUJARATI */
"pa", /* G_UNICODE_SCRIPT_GURMUKHI */
- "", /* G_UNICODE_SCRIPT_HAN */
+ "han", /* G_UNICODE_SCRIPT_HAN */
"ko", /* G_UNICODE_SCRIPT_HANGUL */
"he", /* G_UNICODE_SCRIPT_HEBREW */
"ja", /* G_UNICODE_SCRIPT_HIRAGANA */