Skip to content

Commit

Permalink
Removed username check for the potato command
Browse files Browse the repository at this point in the history
  • Loading branch information
Yepoleb committed Jun 11, 2014
1 parent 097c249 commit 44f535b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/potato.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ def potato(inp, action=None):
"""potato <user> - Makes <user> 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'])
Expand Down

0 comments on commit 44f535b

Please sign in to comment.