projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod_presence: Removed dead code
[prosody.git]
/
plugins
/
mod_selftests.lua
diff --git
a/plugins/mod_selftests.lua
b/plugins/mod_selftests.lua
index 8aa70952dc68345ee24415bf296272f77c96ab8e..9b0e5a7bb739f282e51b26c38e3dfd80ddf46edb 100644
(file)
--- a/
plugins/mod_selftests.lua
+++ b/
plugins/mod_selftests.lua
@@
-1,3
+1,12
@@
+-- Prosody IM v0.4
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
+
local st = require "util.stanza";
local register_component = require "core.componentmanager".register_component;
local st = require "util.stanza";
local register_component = require "core.componentmanager".register_component;
@@
-36,7
+45,7
@@
if tests_jid and host then
local our_origin = hosts[host];
local our_origin = hosts[host];
- add_event_hook("server-started",
+
module:
add_event_hook("server-started",
function ()
local id = st.new_id();
local ping_attr = { xmlns = 'urn:xmpp:ping' };
function ()
local id = st.new_id();
local ping_attr = { xmlns = 'urn:xmpp:ping' };