should only return a BufferLineMatch when we actually match
This commit is contained in:
parent
0e46dc7518
commit
61eeba0cb9
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class Buffer(object):
|
|||
if for_user and not self.server.irc_lower(line.sender
|
||||
) == for_user:
|
||||
continue
|
||||
return BufferLineMatch(line, match.group(0))
|
||||
return BufferLineMatch(line, match.group(0))
|
||||
return None
|
||||
|
||||
def find_from(self, nickname: str) -> typing.Optional[BufferLine]:
|
||||
|
|
Loading…
Reference in a new issue