Changeset

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
parents 283:39ce7535887c
children 285:99737531734c
files plugins/jingle_ibb.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;