Mercurial > prosody-hg
diff plugins/mod_http.lua @ 6054:7a5ddbaf758d
Merge 0.9->0.10
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 02 Apr 2014 17:41:38 +0100 |
| parents | 8c69cea8a1bf |
| children | 3b4fde51fa25 |
line wrap: on
line diff
--- a/plugins/mod_http.lua Wed Apr 02 14:31:19 2014 +0100 +++ b/plugins/mod_http.lua Wed Apr 02 17:41:38 2014 +0100 @@ -1,7 +1,7 @@ -- Prosody IM -- Copyright (C) 2008-2012 Matthew Wild -- Copyright (C) 2008-2012 Waqas Hussain --- +-- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- @@ -111,7 +111,7 @@ end end end - + local function http_app_removed(event) local app_handlers = apps[event.item.name]; apps[event.item.name] = nil; @@ -119,7 +119,7 @@ module:unhook_object_event(server, event, handler); end end - + module:handle_items("http-provider", http_app_added, http_app_removed); server.add_host(host);
