Imported from archive.
[mudpy.git] / lib / muff / muffuser.py
index 6881869..ebe0c32 100644 (file)
@@ -97,10 +97,12 @@ class User:
                try:
                        temporary_record.read(filename)
                        self.passhash = temporary_record.get("account", "passhash")
+                       return True
 
                # otherwise, the password hash is empty
                except:
                        self.passhash = ""
+                       return False
 
        def save(self):
                """Record account data to cold storage."""