From bf58e1a8a335a49ce246aee8f445c3a10726e0d5 Mon Sep 17 00:00:00 2001 From: lukeroge Date: Mon, 5 Mar 2012 11:13:48 +1300 Subject: [PATCH] Removed penis reference that was never supposed to be pushed to github. ._. --- plugins/password.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/password.py b/plugins/password.py index 08ea501..c550ab6 100755 --- a/plugins/password.py +++ b/plugins/password.py @@ -40,7 +40,7 @@ def gen_password(types): okay.append(x) else: needs_def = 1 - #defualts to lowercase alpha password if no arguments are found + #defaults to lowercase alpha password if no arguments are found if needs_def == 1: for x in string.ascii_lowercase: okay.append(x) @@ -55,8 +55,4 @@ def gen_password(types): def password(inp, notice=None): ".password [types] -- Generates a password of (default 10). [types] can include 'alpha', 'no caps', 'numeric', 'symbols' or any combination of the types, eg. 'numbers symbols'" password = gen_password(inp) - short = "error: input too short" - penis = ["penis", "mypenis", "dick", "mydick"] - if inp in penis: - return short notice(password)