plugins.register: Fix event name (failure vs. failed)

Sat, 08 Jun 2013 17:43:41 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 08 Jun 2013 17:43:41 +0100
changeset 342
7aed4bc4949c
parent 341
a95890d86fe4
child 343
0d8fb22404c3

plugins.register: Fix event name (failure vs. failed)

plugins/register.lua file | annotate | diff | comparison | revisions
--- 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;

mercurial