Software /
code /
prosody
Comparison
core/usermanager.lua @ 6628:8495734da243
usermanager: Capitalize log message
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 25 Apr 2015 14:22:59 +0200 |
parent | 5795:47c2f71d8314 |
child | 6663:d3023dd07cb6 |
comparison
equal
deleted
inserted
replaced
6627:c6e025411baa | 6628:8495734da243 |
---|---|
48 end -- COMPAT 0.7 | 48 end -- COMPAT 0.7 |
49 if provider.name == auth_provider then | 49 if provider.name == auth_provider then |
50 host_session.users = setmetatable(provider, provider_mt); | 50 host_session.users = setmetatable(provider, provider_mt); |
51 end | 51 end |
52 if host_session.users ~= nil and host_session.users.name ~= nil then | 52 if host_session.users ~= nil and host_session.users.name ~= nil then |
53 log("debug", "host '%s' now set to use user provider '%s'", host, host_session.users.name); | 53 log("debug", "Host '%s' now set to use user provider '%s'", host, host_session.users.name); |
54 end | 54 end |
55 end); | 55 end); |
56 host_session.events.add_handler("item-removed/auth-provider", function (event) | 56 host_session.events.add_handler("item-removed/auth-provider", function (event) |
57 local provider = event.item; | 57 local provider = event.item; |
58 if host_session.users == provider then | 58 if host_session.users == provider then |