From c85b3bc0521a15e5ce8a87fcc39366079909565b Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 28 Mar 2003 06:54:15 +0000 Subject: [PATCH] Changed lithp command to be case-insensitive --- plugins/FunCommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/FunCommands.py b/plugins/FunCommands.py index edd224d16..49b1b8c1d 100644 --- a/plugins/FunCommands.py +++ b/plugins/FunCommands.py @@ -244,7 +244,7 @@ class FunCommands(callbacks.Privmsg): def lithp(self, irc, msg, args): "" 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'),