Software /
code /
prosody
Comparison
main.lua @ 408:eb1a0960cefb
Friendlier messages on missing dependencies
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 25 Nov 2008 02:20:23 +0000 |
parent | 406:11f176cae9da |
child | 412:b5b4ec28feec |
comparison
equal
deleted
inserted
replaced
407:7ae008771391 | 408:eb1a0960cefb |
---|---|
1 pcall(require, "luarocks.require") | 1 pcall(require, "luarocks.require") |
2 | 2 |
3 local server = require "net.server" | 3 local server = require "net.server" |
4 require "lxp" | |
5 require "socket" | |
6 pcall(require,"ssl") -- Optional | |
7 local config = require "core.configmanager" | 4 local config = require "core.configmanager" |
5 | |
6 require "util.dependencies" | |
8 | 7 |
9 log = require "util.logger".init("general"); | 8 log = require "util.logger".init("general"); |
10 | 9 |
11 do | 10 do |
12 -- TODO: Check for other formats when we add support for them | 11 -- TODO: Check for other formats when we add support for them |