prosodyctl: Use util.prosodyctl.deluser
authorKim Alvefur <zash@zash.se>
Fri, 24 Aug 2012 23:32:26 +0000 (01:32 +0200)
committerKim Alvefur <zash@zash.se>
Fri, 24 Aug 2012 23:32:26 +0000 (01:32 +0200)
prosodyctl

index c658921bee145b6ea46267d106f4c283536b53ef..25570fc44f3521599b8b56b636d9808fc48c26bb 100755 (executable)
@@ -366,7 +366,7 @@ function commands.deluser(arg)
                return 1;
        end
        
-       local ok, msg = prosodyctl.passwd { user = user, host = host };
+       local ok, msg = prosodyctl.deluser { user = user, host = host };
        
        if ok then return 0; end