Software /
code /
prosody
Comparison
core/componentmanager.lua @ 3561:579c087059fc
componentmanager: Removed unused function set_component_handler.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 04 Nov 2010 20:12:42 +0500 |
parent | 3547:3242e70f1058 |
child | 3584:5d880c365dd4 |
comparison
equal
deleted
inserted
replaced
3560:fb49b63e3fe2 | 3561:579c087059fc |
---|---|
150 else | 150 else |
151 log("error", "Attempt to remove component for non-existing host: "..host); | 151 log("error", "Attempt to remove component for non-existing host: "..host); |
152 end | 152 end |
153 end | 153 end |
154 | 154 |
155 function set_component_handler(host, handler) | |
156 components[host] = handler; | |
157 end | |
158 | |
159 function get_children(host) | 155 function get_children(host) |
160 return disco_items:get(host) or NULL; | 156 return disco_items:get(host) or NULL; |
161 end | 157 end |
162 | 158 |
163 return _M; | 159 return _M; |