diff options
Diffstat (limited to 'loginsecurity.py')
-rw-r--r-- | loginsecurity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginsecurity.py b/loginsecurity.py index ceac111..3a1a8ff 100644 --- a/loginsecurity.py +++ b/loginsecurity.py @@ -88,7 +88,7 @@ def rmpass_command(sender, command, label, args): if not is_registered(uid(sender)): return "&cYou are not registered!" password = " ".join(args) - if sender.getName() in logging_in: + if not sender.getName() in logging_in: delete_pass(uid(sender)) return "&aPassword removed successfully. You will not be prompted anymore." return "&cFailed to remove password, please contact a staff member" |