Bug fix: Initials mentions

This commit is contained in:
Kiooeht 2011-08-21 20:14:25 -07:00
parent 5d267c5c05
commit b1ca12c4cc

View file

@ -1788,7 +1788,7 @@ class PesterWindow(MovingWindow):
if self.config.nameSound():
initials = self.userprofile.chat.initials()
initials = (initials, "%s%s" % (initials[0].lower(), initials[1]), "%s%s" % (initials[0], initials[1].lower()))
search = r"\b%s\b" % ("|".join(initials))
search = r"\b(%s)\b" % ("|".join(initials))
m = convertTags(msg, "text")
if m.find(":") <= 3:
m = m[m.find(":"):]