Fehlermeldung wenn TXT nicht erreichbar

This commit is contained in:
Akamaru 2016-02-02 22:47:42 +01:00
parent 7e5c5ec06c
commit d9ef487bcb
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ local function run(msg, matches)
else
res,code = http.request('http://'..matches[1]..'.txt')
end
if code ~= 200 then return nil end
if code ~= 200 then return 'Fehler beim Laden der TXT' end
return res
end