net.server: Fix nil table index assignment
[prosody.git] / core / rostermanager.lua
index 504d996110ad7db1963175de692387b19dd5a64c..7236a006fc0033f09efb36d9a34783d141c7ae69 100644 (file)
@@ -1,8 +1,15 @@
+-- Prosody IM v0.3
+-- 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.
+--
 
-local mainlog = log;
-local function log(type, message)
-       mainlog(type, "rostermanager", message);
-end
+
+
+
+local log = require "util.logger".init("rostermanager");
 
 local setmetatable = setmetatable;
 local format = string.format;