Merge branch 'master' of github.com:sbp/phenny

This commit is contained in:
Sean B. Palmer
2011-06-17 16:50:21 +01:00
5 changed files with 12 additions and 0 deletions

View File

@@ -84,6 +84,8 @@ r_query = re.compile(
)
def gcs(phenny, input):
if not input.group(2):
return phenny.reply("Nothing to compare.")
queries = r_query.findall(input.group(2))
if len(queries) > 6:
return phenny.reply('Sorry, can only compare up to six things.')