changeset 733:fe05afc3f0df

reverted last commit
author Goffi <goffi@goffi.org>
date Fri, 13 Dec 2013 17:46:35 +0100
parents ffc3ddcdaf48
children b26dfac8e46c
files src/plugins/plugin_misc_account.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_account.py	Fri Dec 13 17:40:48 2013 +0100
+++ b/src/plugins/plugin_misc_account.py	Fri Dec 13 17:46:35 2013 +0100
@@ -143,8 +143,8 @@
         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