Added aol filter.

This commit is contained in:
Jeremy Fincher 2004-07-20 09:28:38 +00:00
parent 2d11b44d36
commit 368958388f
3 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
* Added aol filter in the Filter plugin.
* Added Nickometer plugin, a translation of Infobot's Nickometer. * Added Nickometer plugin, a translation of Infobot's Nickometer.
* Added multiple recipient support for notes. * Added multiple recipient support for notes.

View File

@ -83,7 +83,7 @@ class Filter(callbacks.Privmsg):
_filterCommands = ['jeffk', 'leet', 'rot13', 'hexlify', 'binary', 'lithp', _filterCommands = ['jeffk', 'leet', 'rot13', 'hexlify', 'binary', 'lithp',
'scramble', 'morse', 'reverse', 'colorize', 'squish', 'scramble', 'morse', 'reverse', 'colorize', 'squish',
'supa1337', 'colorstrip'] 'supa1337', 'colorstrip', 'aol']
def outfilter(self, irc, msg, args, channel): def outfilter(self, irc, msg, args, channel):
"""[<channel>] [<command>] """[<channel>] [<command>]

View File

@ -41,6 +41,7 @@ class FilterTest(ChannelPluginTestCase, PluginDocumentation):
self.assertNotError('leet foobar') self.assertNotError('leet foobar')
self.assertNotError('supa1337 foobar') self.assertNotError('supa1337 foobar')
self.assertNotError('lithp meghan sweeney') self.assertNotError('lithp meghan sweeney')
self.assertNotError('aol I\'m too legit to quit.')
def testJeffk(self): def testJeffk(self):
for i in range(100): for i in range(100):