mirror of
git://git.acid.vegas/IRCP.git
synced 2024-11-23 00:16:41 +00:00
Organized IRC numerics in categories by order
This commit is contained in:
parent
f29bd958af
commit
845a580edf
14
ircp.py
14
ircp.py
@ -59,16 +59,16 @@ snapshot = {
|
|||||||
'004' : None, # RPL_MYINFO
|
'004' : None, # RPL_MYINFO
|
||||||
'005' : None, # RPL_ISUPPORT #TODO: lots of useful information here can be parsed for fine tuning throttles
|
'005' : None, # RPL_ISUPPORT #TODO: lots of useful information here can be parsed for fine tuning throttles
|
||||||
'006' : None, # RPL_MAP
|
'006' : None, # RPL_MAP
|
||||||
'270' : None, # RPL_MAPUSERS
|
|
||||||
'018' : None, # RPL_MAPUSERS
|
'018' : None, # RPL_MAPUSERS
|
||||||
'257' : None, # RPL_ADMINLOC1
|
'257' : None, # RPL_ADMINLOC1
|
||||||
'258' : None, # RPL_ADMINLOC2
|
'258' : None, # RPL_ADMINLOC2
|
||||||
'259' : None, # RPL_ADMINEMAIL
|
'259' : None, # RPL_ADMINEMAIL
|
||||||
|
'270' : None, # RPL_MAPUSERS
|
||||||
|
'304' : None, # RPL_TEXT
|
||||||
'351' : None, # RPL_VERSION
|
'351' : None, # RPL_VERSION
|
||||||
'364' : None, # RPL_LINKS
|
'364' : None, # RPL_LINKS
|
||||||
'371' : None, # RPL_INFO
|
'371' : None, # RPL_INFO
|
||||||
'372' : None, # RPL_MOTD
|
'372' : None, # RPL_MOTD
|
||||||
'304' : None, # RPL_TEXT
|
|
||||||
'386' : None, # RPL_IRCOPS
|
'386' : None, # RPL_IRCOPS
|
||||||
'387' : None, # RPL_IRCOPS
|
'387' : None, # RPL_IRCOPS
|
||||||
|
|
||||||
@ -83,9 +83,9 @@ snapshot = {
|
|||||||
'266' : None, # RPL_GLOBALUSERS
|
'266' : None, # RPL_GLOBALUSERS
|
||||||
|
|
||||||
# channel information
|
# channel information
|
||||||
|
'322' : None, # RPL_LIST
|
||||||
'332' : None, # RPL_TOPIC
|
'332' : None, # RPL_TOPIC
|
||||||
'353' : None, # RPL_NAMREPLY
|
'353' : None, # RPL_NAMREPLY
|
||||||
'322' : None, # RPL_LIST
|
|
||||||
|
|
||||||
# user information (whois/who)
|
# user information (whois/who)
|
||||||
'042' : None, # RPL_YOURID
|
'042' : None, # RPL_YOURID
|
||||||
@ -121,10 +121,10 @@ snapshot = {
|
|||||||
|
|
||||||
# bad channel numerics
|
# bad channel numerics
|
||||||
'403' : None, # ERR_NOSUCHCHANNEL
|
'403' : None, # ERR_NOSUCHCHANNEL
|
||||||
|
'405' : None, # ERR_TOOMANYCHANNELS (TODO: Maybe reference MAXCHANNELS= in 005 responses)
|
||||||
'435' : None, # ERR_BANONCHAN
|
'435' : None, # ERR_BANONCHAN
|
||||||
'439' : None, # ERR_TARGETTOOFAST
|
'439' : None, # ERR_TARGETTOOFAST
|
||||||
'448' : None, # ERR_FORBIDDENCHANNEL
|
'448' : None, # ERR_FORBIDDENCHANNEL
|
||||||
'405' : None, # ERR_TOOMANYCHANNELS (TODO: Maybe reference MAXCHANNELS= in 005 responses)
|
|
||||||
'470' : None, # ERR_LINKCHANNEL
|
'470' : None, # ERR_LINKCHANNEL
|
||||||
'471' : None, # ERR_CHANNELISFULL
|
'471' : None, # ERR_CHANNELISFULL
|
||||||
'473' : None, # ERR_INVITEONLYCHAN
|
'473' : None, # ERR_INVITEONLYCHAN
|
||||||
@ -142,13 +142,13 @@ snapshot = {
|
|||||||
'926' : None, # ERR_BADCHANNEL
|
'926' : None, # ERR_BADCHANNEL
|
||||||
|
|
||||||
# bad server numerics
|
# bad server numerics
|
||||||
|
'416' : None, # ERR_QUERYTOOLONG (LIST truncated)
|
||||||
|
'421' : None, # ERR_UNKNOWNCOMMAND
|
||||||
'451' : None, # ERR_NOTREGISTERED (TODO: Do we need to raise an exception for this numeric?
|
'451' : None, # ERR_NOTREGISTERED (TODO: Do we need to raise an exception for this numeric?
|
||||||
'464' : None, # ERR_PASSWDMISMATCH
|
'464' : None, # ERR_PASSWDMISMATCH
|
||||||
'465' : None, # ERR_YOUREBANNEDCREEP
|
'465' : None, # ERR_YOUREBANNEDCREEP
|
||||||
'466' : None, # ERR_YOUWILLBEBANNED
|
'466' : None, # ERR_YOUWILLBEBANNED
|
||||||
'484' : None, # ERR_RESTRICTED
|
'484' : None # ERR_RESTRICTED
|
||||||
'421' : None, # ERR_UNKNOWNCOMMAND
|
|
||||||
'416' : None # ERR_QUERYTOOLONG (LIST truncated)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def backup(name):
|
def backup(name):
|
||||||
|
Loading…
Reference in New Issue
Block a user