aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-28 02:56:13 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-28 02:56:13 +0100
commitbc682f6d41746149d1af6ca99f1d83bdca4a2712 (patch)
tree07dab055faacd11d6490556b284307e622a74adf
parent5f25d03a92243c77af899942430db763107b22ad (diff)
downloadprosody-bc682f6d41746149d1af6ca99f1d83bdca4a2712.tar.gz
prosody-bc682f6d41746149d1af6ca99f1d83bdca4a2712.zip
mod_presence: Use logger supplied by modulemanager
-rw-r--r--plugins/mod_presence.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua
index 0511c888..ced51821 100644
--- a/plugins/mod_presence.lua
+++ b/plugins/mod_presence.lua
@@ -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;