summaryrefslogtreecommitdiffstats
path: root/py-bin
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-04-05 23:24:02 +0200
committermh <mh@immerda.ch>2011-04-05 23:24:02 +0200
commit872c724dde83be911b459482bc99c8bcbb5a12a7 (patch)
tree08b48b3f15da5af59d696234763c3b9d66034135 /py-bin
parentfe20579d5d14bbdc127603ee1545422c7fb1444f (diff)
command to change password changed
Diffstat (limited to 'py-bin')
-rw-r--r--py-bin/ejabberdctl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py-bin/ejabberdctl.py b/py-bin/ejabberdctl.py
index c3288aa..425e4b2 100644
--- a/py-bin/ejabberdctl.py
+++ b/py-bin/ejabberdctl.py
@@ -28,7 +28,7 @@ class EJabberdCtl:
return False
def change_password(self, user, server, password):
- if self.__ejabberdctl(["set-password", user, server, SensitiveString(password)]):
+ if self.__ejabberdctl(["change_password", user, server, SensitiveString(password)]):
logging.info("Changed Password for %s@%s." % (user, server))
return True
return False