prosody: Require some core/util libraries which core modules depend upon, C modules and other modules which write to _G

Sat, 17 Oct 2009 10:52:25 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 17 Oct 2009 10:52:25 +0100
changeset 1967
f78a019efeb0
parent 1966
431866ad1262
child 1968
ed654243eb5d

prosody: Require some core/util libraries which core modules depend upon, C modules and other modules which write to _G

prosody file | annotate | diff | comparison | revisions
--- a/prosody	Sat Oct 17 10:49:13 2009 +0100
+++ b/prosody	Sat Oct 17 10:52:25 2009 +0100
@@ -162,11 +162,16 @@
 	require "core.sessionmanager"
 	require "core.stanza_router"
 
+	require "net.http"
+	
 	require "util.array"
+	require "util.datetime"
 	require "util.iterators"
 	require "util.timer"
 	require "util.helpers"
 	
+	pcall(require, "util.signal") -- Not on Windows
+	
 	-- Commented to protect us from 
 	-- the second kind of people
 	--[[ 

mercurial