diff --git a/src/common/connection.py b/src/common/connection.py index 71b8840a85379d18b6f1d24b2853dc9c3ff92c7f..34527e45aa955051d3e19ab7ee1edd87a68c8d27 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -279,7 +279,7 @@ class Connection(ConnectionHandlers): # typed, so send them if is_form: #TODO: Check if form has changed - iq = Iq('set', NS_REGISTER, to=self._hostname) + iq = common.xmpp.Iq('set', common.xmpp.NS_REGISTER, to=self._hostname) iq.setTag('query').addChild(node=self.new_account_form) self.connection.SendAndCallForResponse(iq, _on_register_result)