Making the PING-loop optional

master
Sean B. Palmer 2012-01-14 22:55:59 +00:00
parent 2575536078
commit 436d610ff4
2 changed files with 29 additions and 29 deletions

View File

@ -90,7 +90,7 @@ def tr2(phenny, input):
command = cmd command = cmd
phrase = command phrase = command
if (len(phrase) > 350) and (not context.admin): if (len(phrase) > 350) and (not input.admin):
return phenny.reply('Phrase must be under 350 characters.') return phenny.reply('Phrase must be under 350 characters.')
src, dest = args src, dest = args