Diff

plugins/bind.lua @ 250:a5ac643a7fd6

added local verse var to all plugins
author mva <mva@mva.name>
date Fri, 02 Dec 2011 11:02:02 +0600
parent 245:19356e2150f3
child 300:b1d50f9a04c7
line wrap: on
line diff
--- a/plugins/bind.lua	Mon Nov 28 17:16:04 2011 +0100
+++ b/plugins/bind.lua	Fri Dec 02 11:02:02 2011 +0600
@@ -1,3 +1,5 @@
+local verse = require "verse";
+
 local xmlns_bind = "urn:ietf:params:xml:ns:xmpp-bind";
 
 function verse.plugins.bind(stream)
@@ -23,4 +25,3 @@
 	stream:hook("stream-features", handle_features, 200);
 	return true;
 end
-