From d7950e3ee4e4c71539b42916d18300e82b48686e Mon Sep 17 00:00:00 2001 From: acidvegas Date: Tue, 30 May 2023 03:51:56 -0400 Subject: [PATCH] Added catch KILL messages, 405 (ERR_TOOMANYCHANNELS), & 451 (ERR_NOTREGISTERED) numerics --- ircp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ircp.py b/ircp.py index cf0d82f..1e7ae0a 100644 --- a/ircp.py +++ b/ircp.py @@ -55,6 +55,7 @@ snapshot = { 'ssl' : False, 'raw' : [], # all other data goes in here 'CAP' : None, + 'KILL', : None, # TODO: currently does not verify it was us being killed 'NOTICE' : None, # server information @@ -102,6 +103,7 @@ snapshot = { # bad channel numerics '439' : None, # ERR_TARGETTOOFAST + '405' : None, # ERR_TOOMANYCHANNELS (TODO: Maybe reference MAXCHANNELS= in 005 responses) '470' : None, # ERR_LINKCHANNEL '471' : None, # ERR_CHANNELISFULL '473' : None, # ERR_INVITEONLYCHAN