Don't prevent highlights for single-letter nicknames
This commit is contained in:
parent
e09529260a
commit
69691e9c79
1 changed files with 3 additions and 0 deletions
|
@ -422,6 +422,9 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
def _prevent_highlight(self, server, channel, s):
|
||||
for user in channel.users:
|
||||
if len(user.nickname) == 1:
|
||||
continue
|
||||
|
||||
s_lower = server.irc_lower(s)
|
||||
while user.nickname_lower in s_lower:
|
||||
index = s_lower.index(user.nickname_lower)
|
||||
|
|
Loading…
Reference in a new issue