From 4040b24dba2edc6b36c48de09804bbf2a58ae066 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 20 Oct 2003 08:00:56 +0000 Subject: [PATCH] Oops, committed a failing test. --- plugins/Fun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Fun.py b/plugins/Fun.py index 712855828..1d78db257 100644 --- a/plugins/Fun.py +++ b/plugins/Fun.py @@ -613,7 +613,7 @@ class Fun(callbacks.Privmsg): text = re.sub(r'(\w)\'(\w)', quoteOrNothing, text) text = re.sub(r'\.(\s+|$)', randomExclaims, text) text = re.sub(r'([aeiou])([aeiou])', randomlyShuffle, text) - text = re.sub(r'to', randomlyReplace('too', 0.6)) + text = re.sub(r'to', randomlyReplace('too', 0.6), text) text = re.sub(r'([bcdfghkjlmnpqrstvwxyz])([bcdfghkjlmnpqrstvwxyz])', lessRandomlyShuffle, text) if random.random() < .4: