diff options
author | Sean B. Palmer <http://inamidst.com/sbp/> | 2008-06-19 18:58:24 +0100 |
---|---|---|
committer | Sean B. Palmer <http://inamidst.com/sbp/> | 2008-06-19 18:58:24 +0100 |
commit | bf20b46f7473ec323cd38464fd8662c5fbc2c72a (patch) | |
tree | 4d6b8ac3f2277999dc60b3ec20cb3ac7687c0c61 /modules/calc.py | |
parent | 68f2036546c286bb864dbc2ade251041bf7e6be9 (diff) | |
download | bot-bf20b46f7473ec323cd38464fd8662c5fbc2c72a.tar.gz bot-bf20b46f7473ec323cd38464fd8662c5fbc2c72a.tar.bz2 bot-bf20b46f7473ec323cd38464fd8662c5fbc2c72a.zip |
Stop calc from flooding, and can now join channels with a key.
Diffstat (limited to 'modules/calc.py')
-rwxr-xr-x | modules/calc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/calc.py b/modules/calc.py index 9a3b174..e664cb2 100755 --- a/modules/calc.py +++ b/modules/calc.py @@ -61,7 +61,7 @@ def calc(phenny, input): elif ' in ' in q: result += ' ' + q.split(' in ', 1)[1] - phenny.say(q + ' = ' + result) + phenny.say(q + ' = ' + result[:350]) else: phenny.reply("Sorry, can't calculate that.") calc.commands = ['calc'] calc.example = '.calc 5 + 3' |