plugins/register.lua

changeset 342
7aed4bc4949c
parent 250
a5ac643a7fd6
child 343
0d8fb22404c3
--- 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