diff --git a/src/IRCBuffer.py b/src/IRCBuffer.py index dee68e3a..1415fd48 100644 --- a/src/IRCBuffer.py +++ b/src/IRCBuffer.py @@ -62,7 +62,8 @@ class Buffer(object): def find_from(self, nickname: str) -> typing.Optional[BufferLine]: nickname_lower = self.server.irc_lower(nickname) for line in self.lines: - if self.server.irc_lower(line.sender) == nickname_lower: + if (not line.from_self + and self.server.irc_lower(line.sender) == nickname_lower): return line return None