diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-11 20:35:26 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-11 20:35:26 +0100 |
commit | 82dac8270d60875f985797170c981d37405251ee (patch) | |
tree | 1c79050f3b6d47054e58e46e8b75455e8d59c4e0 /plugins/muc/muc.lib.lua | |
parent | c12ebaa5ce7d55c66361757d773e67b62d2e719e (diff) | |
download | prosody-82dac8270d60875f985797170c981d37405251ee.tar.gz prosody-82dac8270d60875f985797170c981d37405251ee.zip |
MUC: Use already initialized logger
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r-- | plugins/muc/muc.lib.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 795f8ccb..69d34e75 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -19,10 +19,11 @@ local jid_bare = require "util.jid".bare; local jid_prep = require "util.jid".prep; local jid_join = require "util.jid".join; local st = require "util.stanza"; -local log = require "util.logger".init("mod_muc"); local base64 = require "util.encodings".base64; local md5 = require "util.hashes".md5; +local log = module._log; + local occupant_lib = module:require "muc/occupant" local muc_util = module:require "muc/util"; local is_kickable_error = muc_util.is_kickable_error; |