From d9ef487bcbc2081f661493d667ee9eb6dc444f13 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Tue, 2 Feb 2016 22:47:42 +0100 Subject: [PATCH] Fehlermeldung wenn TXT nicht erreichbar --- plugins/get_txt.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/get_txt.lua b/plugins/get_txt.lua index 2a74662..1268194 100644 --- a/plugins/get_txt.lua +++ b/plugins/get_txt.lua @@ -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