summaryrefslogtreecommitdiffstats
path: root/modules/translate.py
diff options
context:
space:
mode:
authorSean B. Palmer <sean@miscoranda.com>2012-01-14 22:55:59 +0000
committerSean B. Palmer <sean@miscoranda.com>2012-01-14 22:55:59 +0000
commit436d610ff44a66443aa9417ada7de1fd386e0f6c (patch)
treec94e92399252345464a1f141cc389ec62a52d7b8 /modules/translate.py
parent25755360786dcafc798d68f147471de0bbfb1056 (diff)
downloadbot-436d610ff44a66443aa9417ada7de1fd386e0f6c.tar.gz
bot-436d610ff44a66443aa9417ada7de1fd386e0f6c.tar.bz2
bot-436d610ff44a66443aa9417ada7de1fd386e0f6c.zip
Making the PING-loop optional
Diffstat (limited to 'modules/translate.py')
-rwxr-xr-xmodules/translate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/translate.py b/modules/translate.py
index ec59db0..94e5f64 100755
--- a/modules/translate.py
+++ b/modules/translate.py
@@ -90,7 +90,7 @@ def tr2(phenny, input):
command = cmd
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.')
src, dest = args