plugins.ping: Return true on module load to indicate load success

Sun, 20 Dec 2009 21:35:49 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 20 Dec 2009 21:35:49 +0000
changeset 34
dd5899412e3f
parent 33
4581b2e61429
child 35
21ee7a1f020d

plugins.ping: Return true on module load to indicate load success

plugins/ping.lua file | annotate | diff | comparison | revisions
--- a/plugins/ping.lua	Sun Dec 20 21:35:24 2009 +0000
+++ b/plugins/ping.lua	Sun Dec 20 21:35:49 2009 +0000
@@ -7,4 +7,5 @@
 				callback(socket.gettime()-t, jid);
 			end);
 	end
+	return true;
 end

mercurial