This commit is contained in:
Andreas Bielawski 2016-10-03 14:44:30 +02:00
parent ff7429363a
commit 43fdeb487d
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ function twitter:action(msg, config, matches)
local get_params = {tweet_mode = 'extended'}
local response_code, response_headers, response_status_line, response_body = client:PerformRequest("GET", twitter_url, get_params)
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
end
local response = json.decode(response_body)
@ -172,4 +172,4 @@ function twitter:action(msg, config, matches)
end
end
return twitter
return twitter