mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Bugfix for Shame.
This commit is contained in:
parent
7556219aa8
commit
227738f78e
@ -172,6 +172,7 @@ class Filter(callbacks.Privmsg):
|
||||
text = privmsgs.getArgs(args)
|
||||
text = text.replace('sh', 'th')
|
||||
text = text.replace('SH', 'TH')
|
||||
text = text.replace('Sh', 'Th')
|
||||
text = text.replace('ss', 'th')
|
||||
text = text.replace('SS', 'TH')
|
||||
text = text.replace('s', 'th')
|
||||
|
@ -52,6 +52,7 @@ class FilterTest(ChannelPluginTestCase, PluginDocumentation):
|
||||
|
||||
def testLithp(self):
|
||||
self.assertResponse('lithp jamessan', 'jamethan')
|
||||
self.assertResponse('lithp Shame', 'Thame')
|
||||
|
||||
def testMorse(self):
|
||||
self.assertResponse('unmorse [morse jemfinch]', 'JEMFINCH')
|
||||
|
Loading…
Reference in New Issue
Block a user