# HG changeset patch # User Kim Alvefur # Date 1438977701 -7200 # Node ID 8c0dd93602282b76accce1c29422c199f1f4c519 # Parent c9da10093c51c2050106d0e2cb9b78641c93502d plugins.github: Fix argument order diff -r c9da10093c51 -r 8c0dd9360228 plugins/github.lua --- a/plugins/github.lua Fri Aug 07 21:47:50 2015 +0200 +++ b/plugins/github.lua Fri Aug 07 22:01:41 2015 +0200 @@ -27,7 +27,7 @@ if not issue_id then return; end local current_conf = conf[command.room and command.room.jid] or conf; if not current_conf.user then return end - assert(http.request(get_issue_url(issue_id), ex, function (issue, code) + assert(http.request(get_issue_url(current_conf, issue_id), ex, function (issue, code) if code > 400 then return command:reply("HTTP Error "..code.." :("); end