Software / code / verse
Diff
plugins/register.lua @ 342:7aed4bc4949c
plugins.register: Fix event name (failure vs. failed)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 08 Jun 2013 17:43:41 +0100 |
| parent | 250:a5ac643a7fd6 |
| child | 343:0d8fb22404c3 |
line wrap: on
line diff
--- a/plugins/register.lua Fri Jun 07 14:36:41 2013 +0100 +++ b/plugins/register.lua Sat Jun 08 17:43:41 2013 +0100 @@ -20,7 +20,7 @@ end); else stream:debug("In-band registration not offered by server"); - stream:event("registration-failed", { condition = "service-unavailable" }); + stream:event("registration-failure", { condition = "service-unavailable" }); end stream:unhook("stream-features", handle_features); return true;