Nicht nötig

This commit is contained in:
Akamaru 2016-09-21 22:43:15 +02:00
parent 0b62c7d947
commit ff8b0ba10f
1 changed files with 1 additions and 1 deletions

View File

@ -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