mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Oops, didn't anchor the no.
This commit is contained in:
parent
8dccee975f
commit
741fc1d8d0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user