aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-17 10:52:25 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-17 10:52:25 +0100
commit9e13176d16af8ccc843b8c6ad059fa1b22a634ce (patch)
treea685ff8ffa30c8a81bdf959c45c75d9b0ef6f059
parent3d72a9c535d4103599f66effafa9766f19cb2223 (diff)
downloadprosody-9e13176d16af8ccc843b8c6ad059fa1b22a634ce.tar.gz
prosody-9e13176d16af8ccc843b8c6ad059fa1b22a634ce.zip
prosody: Require some core/util libraries which core modules depend upon, C modules and other modules which write to _G
-rwxr-xr-xprosody5
1 files changed, 5 insertions, 0 deletions
diff --git a/prosody b/prosody
index 02b66b21..00a301fa 100755
--- a/prosody
+++ b/prosody
@@ -162,11 +162,16 @@ function load_secondary_libraries()
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
--[[