quait / madcow

Automatically exported from code.google.com/p/madcow
GNU General Public License v3.0
0 stars 0 forks source link

translate.py regex pattern and spam #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Any sentence starting with tr (regardless if followed by a whitespace or 
not) triggers the module, ie "trolololol"
2. When that happens no language will be specified, as it's not a valid query, 
and on quakenet that gets the bot kicked for excess flood when listing all the 
languages.
3.

What is the expected output? What do you see instead?
Nothing. Spam.

What version of the product are you using? On what operating system?
2.1.0, on linux/ubuntu

Please provide any additional information below.
Mainly a problem if you don't require addressing, but the pattern should maybe 
still be looked at, and maybe throttling the output.

Original issue reported on code.google.com by hed...@gmail.com on 16 Feb 2012 at 12:12

GoogleCodeExporter commented 9 years ago
i made this require the full word "translate" since an alias for 'tr' can be 
added, no point being baked in.

Original comment by cjo...@gmail.com on 30 Jun 2012 at 2:44