Software /
code /
verse
Comparison
plugins/ping.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 | 147:c95b84ed366b |
child | 339:72fbfb0367e9 |
comparison
equal
deleted
inserted
replaced
249:00891a675634 | 250:a5ac643a7fd6 |
---|---|
1 local verse = require "verse"; | |
2 | |
1 local xmlns_ping = "urn:xmpp:ping"; | 3 local xmlns_ping = "urn:xmpp:ping"; |
2 | 4 |
3 function verse.plugins.ping(stream) | 5 function verse.plugins.ping(stream) |
4 function stream:ping(jid, callback) | 6 function stream:ping(jid, callback) |
5 local t = socket.gettime(); | 7 local t = socket.gettime(); |