summaryrefslogtreecommitdiff
path: root/loginsecurity.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-08-13 00:30:54 +0200
committerjomo <github@jomo.tv>2015-08-13 00:30:54 +0200
commit45008c0443052bc80842e29567c3fed356dc5156 (patch)
tree3ddf6d8fa06cd5f961abe467aa342d92f1b0593d /loginsecurity.py
parent34eed808dc9d609295551ee51d441daf430b07f8 (diff)
remove trailing whitespace, replace tabs with 4x space
Diffstat (limited to 'loginsecurity.py')
-rw-r--r--loginsecurity.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/loginsecurity.py b/loginsecurity.py
index 1ecf3b3..39956f3 100644
--- a/loginsecurity.py
+++ b/loginsecurity.py
@@ -34,10 +34,10 @@ def matches_thread(password, user):
@simplecommand("cgpass",
- usage = "<password> <new password>",
- description = "Changes your password",
- senderLimit = 0,
- helpNoargs = True)
+ usage = "<password> <new password>",
+ description = "Changes your password",
+ senderLimit = 0,
+ helpNoargs = True)
def change_pass_command(sender, command, label, args):
if sender.getName() in logging_in:
return "&cYou are not logged in"
@@ -52,9 +52,9 @@ def change_pass_command(sender, command, label, args):
return "&cYou are not registered"
@simplecommand("login",
- usage = "<password>",
+ usage = "<password>",
description = "Logs you in if <password> matches your password.",
- senderLimit = 0,
+ senderLimit = 0,
helpNoargs = True)
def login_command(sender, command, label, args):
password = args[0]
@@ -195,7 +195,7 @@ def kick_thread():
if name in logging_in:
del logging_in[name]
break
-
+
thread = threading.Thread(target = kick_thread)