mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-16 05:21:01 +01:00
Irc: demote unknown user errors in parseModes() to DEBUG
Some ancient services like Anope 1.8 set SVS2MODE +d on users when they connect, even if the user quits right after. Due to lag we may receive the MODE after the QUIT instead of before. (cherry picked from commit ec4e71c8cfb86105a28e7bc0b63d91dcc8c37a60)
This commit is contained in:
parent
1888f24ef0
commit
e4b2ea60ec
@ -566,7 +566,7 @@ class Irc():
|
||||
log.debug('(%s) Using self.umodes for this query: %s', self.name, self.umodes)
|
||||
|
||||
if target not in self.users:
|
||||
log.warning('(%s) Possible desync! Mode target %s is not in the users index.', self.name, target)
|
||||
log.debug('(%s) Possible desync! Mode target %s is not in the users index.', self.name, target)
|
||||
return [] # Return an empty mode list
|
||||
|
||||
supported_modes = self.umodes
|
||||
|
Loading…
x
Reference in New Issue
Block a user