From ff8b0ba10f96c4e09c6a657754f78431e8ee7842 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Wed, 21 Sep 2016 22:43:15 +0200 Subject: [PATCH] =?UTF-8?q?Nicht=20n=C3=B6tig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- miku/plugins/get_txt.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miku/plugins/get_txt.lua b/miku/plugins/get_txt.lua index 225d036..5972544 100644 --- a/miku/plugins/get_txt.lua +++ b/miku/plugins/get_txt.lua @@ -16,7 +16,7 @@ function get_txt:action(msg, config, matches) return end if string.len(res) > 500 then - result = string.sub(res:gsub("%b<>", ""), 1, 500)..'...\n(Text gekürzt, da länger als 500 Zeichen.)' + result = string.sub(res, 1, 500)..'...\n(Text gekürzt, da länger als 500 Zeichen.)' else result = res end