Changed lithp command to be case-insensitive

This commit is contained in:
Jeremy Fincher 2003-03-28 06:54:15 +00:00
parent c0804180b4
commit c85b3bc052
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ class FunCommands(callbacks.Privmsg):
def lithp(self, irc, msg, args):
"<text>"
text = privmsgs.getArgs(args)
irc.reply(msg, text.replace('s', 'th'))
irc.reply(msg, text.replace('s', 'th').replace('S', 'TH'))
_leettrans = string.maketrans('oOaAeElBTiIts', '004433187!1+5')
_leetres = ((re.compile(r'\b(?:(?:[yY][o0O][oO0uU])|u)\b'), 'j00'),