mod_tls: Don't try to start TLS if we can't actually do it (thanks Florob)
[prosody.git] / plugins / mod_offline.lua
index 4fb82cc0d3efc4306ce0227f04930a6407c47f68..c74d011e7c0b2145bf66328d2c42c693e9bfcca4 100644 (file)
@@ -1,8 +1,17 @@
+-- Prosody IM
+-- 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.
+--
+
 \r
 local datamanager = require "util.datamanager";\r
 local st = require "util.stanza";\r
 local datetime = require "util.datetime";\r
-local ipairs = ipairs;\r
+local ipairs = ipairs;
+local jid_split = require "util.jid".split;\r
 \r
 module:add_feature("msgoffline");\r
 \r