mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
clientbot: handle numerics 463 to 465 as fatal error
This commit is contained in:
parent
cf5898fb45
commit
be960bf27b
@ -35,6 +35,10 @@ class ClientbotWrapperProtocol(Protocol):
|
||||
# things like failed KICK attempts from desyncing plugins like relay.
|
||||
self.kick_queue = {}
|
||||
|
||||
# Aliases: 463 (ERR_NOPERMFORHOST), 464 (ERR_PASSWDMISMATCH), and 465 (ERR_YOUREBANNEDCREEP)
|
||||
# are essentially all fatal errors for connections.
|
||||
self.handle_463 = self.handle_464 = self.handle_465 = self.handle_error
|
||||
|
||||
def _expandPUID(self, uid):
|
||||
"""
|
||||
Returns the real nick for the given PUID.
|
||||
|
Loading…
Reference in New Issue
Block a user