aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-13 15:23:29 +0100
committerKim Alvefur <zash@zash.se>2017-12-13 15:23:29 +0100
commit91410ee072c2bde675d87bbb1c5e71a99f1f6bc7 (patch)
tree867fc24ee0c83d4b5edd32e24d69bbbd8bb1aab1
parent391bc42a2dac401b43042df9865be9fc5845e5db (diff)
downloadprosody-91410ee072c2bde675d87bbb1c5e71a99f1f6bc7.tar.gz
prosody-91410ee072c2bde675d87bbb1c5e71a99f1f6bc7.zip
mod_bosh: Use moduleapi logger
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 71be632e..2cac7385 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -16,7 +16,7 @@ local new_uuid = require "util.uuid".generate;
local core_process_stanza = prosody.core_process_stanza;
local st = require "util.stanza";
local logger = require "util.logger";
-local log = logger.init("mod_bosh");
+local log = module._log;
local initialize_filters = require "util.filters".initialize;
local math_min = math.min;
local tostring, type = tostring, type;