plugins/jingle_ibb.lua

changeset 284
c78d1780f1d2
parent 250
a5ac643a7fd6
child 428
bde804b01f28
equal deleted inserted replaced
283:39ce7535887c 284:c78d1780f1d2
9 local t_concat = table.concat 9 local t_concat = table.concat
10 10
11 local ibb_conn = {}; 11 local ibb_conn = {};
12 local ibb_conn_mt = { __index = ibb_conn }; 12 local ibb_conn_mt = { __index = ibb_conn };
13 13
14 function new_ibb(stream) 14 local function new_ibb(stream)
15 local conn = setmetatable({ stream = stream }, ibb_conn_mt) 15 local conn = setmetatable({ stream = stream }, ibb_conn_mt)
16 conn = verse.eventable(conn); 16 conn = verse.eventable(conn);
17 return conn; 17 return conn;
18 end 18 end
19 19

mercurial