Software /
code /
prosody
Comparison
plugins/mod_net_multiplex.lua @ 10475:fa0cad7c89e3
mod_net_multiplex: Remove debug message
This was something I added during development and set to info level for
visibility.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 01 Dec 2019 02:04:24 +0100 |
parent | 10466:276f62d14437 |
child | 11023:a59b37b03eca |
comparison
equal
deleted
inserted
replaced
10474:175b72700d79 | 10475:fa0cad7c89e3 |
---|---|
21 module:log("debug", "Adding multiplex service %q with pattern %q", service.name, multiplex_pattern); | 21 module:log("debug", "Adding multiplex service %q with pattern %q", service.name, multiplex_pattern); |
22 available_services[service] = multiplex_pattern; | 22 available_services[service] = multiplex_pattern; |
23 elseif not protocol_name then | 23 elseif not protocol_name then |
24 module:log("debug", "Service %q is not multiplex-capable", service.name); | 24 module:log("debug", "Service %q is not multiplex-capable", service.name); |
25 end | 25 end |
26 module:log("info", "available_protocols = %q", available_protocols); | |
27 end | 26 end |
28 module:hook("service-added", function (event) add_service(event.service); end); | 27 module:hook("service-added", function (event) add_service(event.service); end); |
29 module:hook("service-removed", function (event) | 28 module:hook("service-removed", function (event) |
30 available_services[event.service] = nil; | 29 available_services[event.service] = nil; |
31 if event.service.multiplex and event.service.multiplex.protocol then | 30 if event.service.multiplex and event.service.multiplex.protocol then |