From 6ae753dcaf4d9753876a620bffcfb3b4053fbce0 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Mon, 11 Jul 2016 23:15:30 +0200 Subject: [PATCH] Fix Tweet --- otouto/plugins/tweet.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/tweet.lua b/otouto/plugins/tweet.lua index 25abd99..63580de 100644 --- a/otouto/plugins/tweet.lua +++ b/otouto/plugins/tweet.lua @@ -145,7 +145,7 @@ function tweet:getTweet(self, msg, base, all) return "Konnte nicht verbinden, evtl. existiert der User nicht?" end - local response = json:decode(response_body) + local response = json.decode(response_body) if #response == 0 then return "Konnte keinen Tweet bekommen, sorry" end