From 741fc1d8d03a3515c68f7413d34fa8c5048a4cbc Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 6 May 2004 20:09:16 +0000 Subject: [PATCH] Oops, didn't anchor the no. --- plugins/Infobot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Infobot.py b/plugins/Infobot.py index 27986511e..93685f75b 100755 --- a/plugins/Infobot.py +++ b/plugins/Infobot.py @@ -191,7 +191,7 @@ class Infobot(callbacks.PrivmsgCommandAndRegexp): s = replacement + s[len(contraction):] return s - _forceRe = re.compile(r'no[,: -]+', re.I) + _forceRe = re.compile(r'^no[,: -]+', re.I) def doPrivmsg(self, irc, msg): maybeAddressed = callbacks.addressed(irc.nick, msg, whenAddressedByNick=True)