Changeset

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
parents 341:a95890d86fe4
children 343:0d8fb22404c3
files plugins/register.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;