plugins/github.lua

changeset 130
8c0dd9360228
parent 129
c9da10093c51
child 133
9d75333c8a3f
--- 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

mercurial