Skip to content

Commit

Permalink
#134 ignore strictly invalid null nickname
Browse files Browse the repository at this point in the history
  • Loading branch information
theunkn0wn1 committed Feb 4, 2020
1 parent dce0d9a commit beccbdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pydle/features/rfc1459/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,9 @@ async def on_raw_353(self, message):
safe_entry = entry.lstrip(''.join(self._nickname_prefixes.keys()))
# Parse entry and update database.
nick, metadata = self._parse_user(safe_entry)
if not nick:
# nonsense nickname
continue
self._sync_user(nick, metadata)

# Get prefixes.
Expand Down

0 comments on commit beccbdd

Please sign in to comment.