Tue, 21 Oct 2014 19:27:57 +0200
plugins.{trac,urltitle,xeps,xkcd,xkcd2,youtube}: Remove net.httpclient_listener, no longer required since verse:8e9f44ecb95b
plugins/trac.lua | file | annotate | diff | comparison | revisions | |
plugins/urltitle.lua | file | annotate | diff | comparison | revisions | |
plugins/xeps.lua | file | annotate | diff | comparison | revisions | |
plugins/xkcd.lua | file | annotate | diff | comparison | revisions | |
plugins/xkcd2.lua | file | annotate | diff | comparison | revisions | |
plugins/youtube.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/trac.lua Tue Oct 21 17:53:04 2014 +0200 +++ b/plugins/trac.lua Tue Oct 21 19:27:57 2014 +0200 @@ -7,7 +7,6 @@ local trac = bot.config.trac; if not trac then return end - require "net.httpclient_listener"; local http = require("net.http"); bot:hook("commands/ticket", function(command)
--- a/plugins/urltitle.lua Tue Oct 21 17:53:04 2014 +0200 +++ b/plugins/urltitle.lua Tue Oct 21 19:27:57 2014 +0200 @@ -1,5 +1,4 @@ function riddim.plugins.urltitle(bot) - require "net.httpclient_listener"; local http = require "net.http"; local function handler(message)
--- a/plugins/xeps.lua Tue Oct 21 17:53:04 2014 +0200 +++ b/plugins/xeps.lua Tue Oct 21 19:27:57 2014 +0200 @@ -2,7 +2,6 @@ local xeps, xeps_short = {}, {}; function riddim.plugins.xeps(bot) - require "net.httpclient_listener"; local http = require("net.http"); bot:hook("commands/xep", function(command) -- Cache XEP list for an hour
--- a/plugins/xkcd.lua Tue Oct 21 17:53:04 2014 +0200 +++ b/plugins/xkcd.lua Tue Oct 21 19:27:57 2014 +0200 @@ -4,7 +4,6 @@ local handle_xkcd_command; function riddim.plugins.xkcd(bot) - require "net.httpclient_listener"; local http = require("net.http"); bot:hook("commands/xkcd", function(command) if os.difftime(os.time(), xkcd_list_updated_at) > (3 * 60 * 60) then -- Not refreshed within 3 hours
--- a/plugins/xkcd2.lua Tue Oct 21 17:53:04 2014 +0200 +++ b/plugins/xkcd2.lua Tue Oct 21 19:27:57 2014 +0200 @@ -1,5 +1,4 @@ -require "net.httpclient_listener"; local http = require("net.http"); local json = require"util.json"; local bare_jid = require "util.jid".bare;
--- a/plugins/youtube.lua Tue Oct 21 17:53:04 2014 +0200 +++ b/plugins/youtube.lua Tue Oct 21 19:27:57 2014 +0200 @@ -2,7 +2,6 @@ -- -- This project is MIT/X11 licensed. -- -require("net.httpclient_listener"); local http = require("net.http"); local st = require("util.stanza"); local tostring = tostring;