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 | 17c850ba33a950b7a4482a6c656cef734768bf8a (patch) | |
tree | 1c79050f3b6d47054e58e46e8b75455e8d59c4e0 /plugins | |
parent | 36c4899e39311d14b66188a9b8af1a577ebc7f61 (diff) | |
download | prosody-17c850ba33a950b7a4482a6c656cef734768bf8a.tar.gz prosody-17c850ba33a950b7a4482a6c656cef734768bf8a.zip |
MUC: Use already initialized logger
Diffstat (limited to 'plugins')
-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; |