Fri, 07 Aug 2015 22:01:41 +0200
plugins.github: Fix argument order
plugins/github.lua | file | annotate | diff | comparison | revisions |
--- 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