# HG changeset patch # User Matthew Wild # Date 1243475773 -3600 # Node ID 342f401f354ca732a94a2a7cfbd2cf683f153d83 # Parent 86b01a837126c4e4a463f9b4fe6e8bfa384aa5cc mod_presence: Use logger supplied by modulemanager diff -r 86b01a837126 -r 342f401f354c plugins/mod_presence.lua --- 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;