Software /
code /
prosody
Changeset
7270:df22e314946c
MUC: Use already initialized logger
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 11 Mar 2016 20:35:26 +0100 |
parents | 7269:cde4ef90cf3d |
children | 7278:1891854b25ac |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Fri Mar 11 13:41:10 2016 +0100 +++ b/plugins/muc/muc.lib.lua Fri Mar 11 20:35:26 2016 +0100 @@ -19,10 +19,11 @@ 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;