net.httpserver: Removed unused import and variables.
[prosody.git] / net / server.lua
index 971e17669f5f282109fddab8e9c61f26f0deba59..1c1a63a4743651ea6120a582dd070a584cdb8233 100644 (file)
@@ -1,5 +1,12 @@
+-- Prosody IM
+-- Copyright (C) 2008-2010 Matthew Wild
+-- Copyright (C) 2008-2010 Waqas Hussain
+-- 
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
 
-local use_luaevent = require "core.configmanager".get("*", "core", "use_libevent");
+local use_luaevent = prosody and require "core.configmanager".get("*", "core", "use_libevent");
 
 if use_luaevent then
        use_luaevent = pcall(require, "luaevent.core");