Diff

plugins/mod_presence.lua @ 1210:342f401f354c

mod_presence: Use logger supplied by modulemanager
author Matthew Wild <mwild1@gmail.com>
date Thu, 28 May 2009 02:56:13 +0100
parent 1209:86b01a837126
child 1211:d60e68855176
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;