summaryrefslogtreecommitdiff
path: root/loginsecurity.py
diff options
context:
space:
mode:
authorPanFritz <redstonenoobpan@gmail.com>2015-07-08 01:50:08 +0200
committerPanFritz <redstonenoobpan@gmail.com>2015-07-08 01:50:08 +0200
commit4a184745578ad1730e13b1980198327ffb5975c1 (patch)
tree51bbf7f85cbd2f2a3dc62c43a5a11967fcc25f43 /loginsecurity.py
parent1689ddaab2ef1d92547862780b03841b11d9220f (diff)
Removed usage from simple command
Diffstat (limited to 'loginsecurity.py')
-rw-r--r--loginsecurity.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/loginsecurity.py b/loginsecurity.py
index 3a1a8ff..d98ae5f 100644
--- a/loginsecurity.py
+++ b/loginsecurity.py
@@ -80,14 +80,12 @@ def register_command(sender, command, label, args):
return "&cPassword set. Use /login <password> upon join."
@simplecommand("rmpass",
- usage = "<password>",
description = "Removes your password if the password matches",
senderLimit = 0,
helpNoargs = True)
def rmpass_command(sender, command, label, args):
if not is_registered(uid(sender)):
return "&cYou are not registered!"
- password = " ".join(args)
if not sender.getName() in logging_in:
delete_pass(uid(sender))
return "&aPassword removed successfully. You will not be prompted anymore."