Changeset

1210:342f401f354c

mod_presence: Use logger supplied by modulemanager
author Matthew Wild <mwild1@gmail.com>
date Thu, 28 May 2009 02:56:13 +0100
parents 1209:86b01a837126
children 1211:d60e68855176
files plugins/mod_presence.lua
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_presence.lua	Thu May 28 02:55:14 2009 +0100
+++ b/plugins/mod_presence.lua	Thu May 28 02:56:13 2009 +0100
@@ -6,9 +6,7 @@
 -- COPYING file in the source package for more information.
 --
 
-
-
-local log = require "util.logger".init("mod_presence")
+local log = module._log;
 
 local require = require;
 local pairs, ipairs = pairs, ipairs;