Diff

plugins/jingle_ibb.lua @ 284:c78d1780f1d2

plugins.jingle_ibb: new_ibb() doesn't need to be global
author Kim Alvefur <zash@zash.se>
date Mon, 05 Mar 2012 20:51:00 +0100
parent 250:a5ac643a7fd6
child 428:bde804b01f28
line wrap: on
line diff
--- 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;