Mon, 05 Mar 2012 20:51:00 +0100
plugins.jingle_ibb: new_ibb() doesn't need to be global
plugins/jingle_ibb.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/jingle_ibb.lua Mon Mar 05 20:18:54 2012 +0100 +++ b/plugins/jingle_ibb.lua Mon Mar 05 20:51:00 2012 +0100 @@ -11,7 +11,7 @@ local ibb_conn = {}; local ibb_conn_mt = { __index = ibb_conn }; -function new_ibb(stream) +local function new_ibb(stream) local conn = setmetatable({ stream = stream }, ibb_conn_mt) conn = verse.eventable(conn); return conn;