From a51df8db6e4d41717b83cd2e12938c0201a8bfa4 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 18 Jun 2010 16:45:31 +0200 Subject: [PATCH] Fix build of blank JID --- src/mod_register.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_register.erl b/src/mod_register.erl index d885e0904..e67a4fca0 100644 --- a/src/mod_register.erl +++ b/src/mod_register.erl @@ -82,7 +82,7 @@ unauthenticated_iq_register(_Acc, BareJID, IQ_Rec, Address), - exmpp_iq:iq_to_xmlel(ResIQ, BareJID, undefined); + exmpp_iq:iq_to_xmlel(ResIQ, BareJID, exmpp_jid:make()); unauthenticated_iq_register(Acc, _Server, _IQ, _IP) -> Acc.