Merge 0.10->trunk
[prosody.git] / prosodyctl
index 1d423b8cf271ec100d99d52d2315ad366f777181..ef62a9d8f155099a575e57556bab7766350950f5 100755 (executable)
@@ -365,8 +365,8 @@ function commands.deluser(arg)
        end
        local user, host = jid_split(arg[1]);
        if not user and host then
-               show_message [[Failed to understand JID, please supply the JID you want to set the password for]]
-               show_usage [[passwd user@host]]
+               show_message [[Failed to understand JID, please supply the JID to the user account you want to delete]]
+               show_usage [[deluser user@host]]
                return 1;
        end
        
@@ -1248,7 +1248,7 @@ function commands.check(arg)
                                                        cert_ok = false
                                                elseif not cert:validat(os.time() + 86400*7) then
                                                        print("    Certificate expires within one week.")
-                                               elseif not cert:validat(os.time() + 86400*13) then
+                                               elseif not cert:validat(os.time() + 86400*31) then
                                                        print("    Certificate expires within one month.")
                                                end
                                                if config.get(host, "component_module") == nil