diff -r 5ee2eccabcc9 -r dd99a0dde016 plugins/trac.lua --- a/plugins/trac.lua Tue Nov 09 03:19:19 2010 +0100 +++ b/plugins/trac.lua Tue Nov 09 17:57:44 2010 +0100 @@ -7,12 +7,8 @@ local trac = bot.config.trac; if not trac then return end - --require "net.httpclient_listener"; - local http = --require("net.http"); - { request = function(url, iduno, callback) - local data = io.popen("curl -s " .. url):read("*a"); - return callback(data, 200); - end; } + require "net.httpclient_listener"; + local http = require("net.http"); bot:hook("commands/ticket", function(command) if not command.param then return end