From 44f535b8356e56f8c7dc7c3baf3f8421e7603286 Mon Sep 17 00:00:00 2001 From: Gabriel Huber Date: Tue, 10 Jun 2014 17:51:12 +0200 Subject: [PATCH] Removed username check for the potato command --- plugins/potato.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/potato.py b/plugins/potato.py index 9987e180..9e5a2df1 100644 --- a/plugins/potato.py +++ b/plugins/potato.py @@ -43,9 +43,6 @@ def potato(inp, action=None): """potato - Makes a tasty little potato.""" inp = inp.strip() - if not re.match("^[A-Za-z0-9_|.-\]\[]*$", inp.lower()): - return "I cant make a tasty potato for that user!" - potato_type = random.choice(potatoes) size = random.choice(['small', 'little', 'mid-sized', 'medium-sized', 'large', 'gigantic']) flavor = random.choice(['tasty', 'delectable', 'delicious', 'yummy', 'toothsome', 'scrumptious', 'luscious'])