Merge Upstream

This commit is contained in:
Akamaru 2016-10-03 21:21:10 +02:00
commit 6a908f8f9f

View File

@ -153,7 +153,7 @@ function twitter:action(msg, config, matches)
local get_params = {tweet_mode = 'extended'} local get_params = {tweet_mode = 'extended'}
local response_code, response_headers, response_status_line, response_body = client:PerformRequest("GET", twitter_url, get_params) local response_code, response_headers, response_status_line, response_body = client:PerformRequest("GET", twitter_url, get_params)
if response_code ~= 200 then if response_code ~= 200 then
utilities.send_repl(msg, 'Twitter nicht erreichbar, Tweet existiert nicht oder User ist privat.') utilities.send_reply(msg, 'Twitter nicht erreichbar, Tweet existiert nicht oder User ist privat.')
return return
end end
local response = json.decode(response_body) local response = json.decode(response_body)