diff --git a/src/plugins/plugin_misc_account.py b/src/plugins/plugin_misc_account.py index 35194bbd..74cdc02e 100755 --- a/src/plugins/plugin_misc_account.py +++ b/src/plugins/plugin_misc_account.py @@ -143,8 +143,8 @@ class MiscAccount(object): reactor.spawnProcess(prosody_reg, prosody_exe, [prosody_exe, 'adduser', "%s@%s" % (profile, self.getConfig('new_account_domain'))], path=self._prosody_path) d.addCallback(self._sendEmails, profile, email, password) - # d.addCallback(lambda ignore: None) # no need to wait for the emails - # return d + d.addCallback(lambda ignore: None) + return d def _sendEmails(self, result, login, email, password): #time to send the email