plugins/xkcd2.lua

changeset 115
6498ca5ed831
parent 112
08670c0cbb65
child 122
f3a458479f9c
equal deleted inserted replaced
114:d11cf84975c5 115:6498ca5ed831
1 1
2 require "net.httpclient_listener";
3 local http = require("net.http"); 2 local http = require("net.http");
4 local json = require"util.json"; 3 local json = require"util.json";
5 local bare_jid = require "util.jid".bare; 4 local bare_jid = require "util.jid".bare;
6 5
7 local current_url = "http://xkcd.com/info.0.json"; 6 local current_url = "http://xkcd.com/info.0.json";

mercurial