3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

unreal: declare support for umodes +Z and +G

This commit is contained in:
James Lu 2019-12-29 09:43:43 -08:00
parent 5a487114b6
commit f01fada92f
2 changed files with 12 additions and 8 deletions

View File

@ -1,9 +1,10 @@
User Mode / IRCd,RFC 1459,hybrid,inspircd,ngircd,p10/ircu,p10/nefarious,p10/snircd,ts6/charybdis,ts6/chatircd,ts6/elemental,ts6/ratbox,unreal User Mode / IRCd,RFC 1459,hybrid,inspircd,ngircd,p10/ircu,p10/nefarious,p10/snircd,ts6/charybdis,ts6/chatircd,ts6/elemental,ts6/ratbox,unreal
admin,,a,,,,a,,a,a,a,a, admin,,a,,,,a,,a,a,a,a,
away,,,,a,,,,,,,, away,,,,a,,,,,,,,
bot,,,B,B,,B,,,B,B,,B bot,,,B,B,,B,,,B,B,,B (usermodes/bot)
callerid,,g,g,,,,,g,g,g,g, callerid,,g,g,,,,,g,g,g,g,
callerid_sslonly,,,,,,,,,t,,, callerid_sslonly,,,,,,,,,t,,,
censor,,,,,,,,,,,,G (usermodes/censor)
cloak,,x,x,x,x,x,x,x,x,x,,x cloak,,x,x,x,x,x,x,x,x,x,,x
cloak_fakehost,,,,,,f,,,,,, cloak_fakehost,,,,,,f,,,,,,
cloak_hashedhost,,,,,,C,,,,,, cloak_hashedhost,,,,,,C,,,,,,
@ -15,25 +16,25 @@ debug,,d,,,,,,,,,,
filter,,,,,,,,,,,,G filter,,,,,,,,,,,,G
floodexempt,,,,f,,,,,,,, floodexempt,,,,f,,,,,,,,
helpop,,,h,,,,,,,,, helpop,,,h,,,,,,,,,
hidechans,,p,I,I,,n,n,,,I,,p hidechans,,p,I,I,,n,n,,,I,,p (usermodes/privacy)
hideidle,,q,,,,I,I,,,,,I hideidle,,q,,,,I,I,,,,,I
hideoper,,H,H,,,H,,,,,,H hideoper,,H,H,,,H,,,,,,H
invisible,i,i,i,i,i,i,i,i,i,i,i,i invisible,i,i,i,i,i,i,i,i,i,i,i,i
locops,,l,,,O,O,O,l,l,l,l, locops,,l,,,O,O,O,l,l,l,l,
netadmin,,,,,,,,,N,,, netadmin,,,,,,,,,N,,,
noctcp,,,,,,,,,,C,,T noctcp,,,,,,,,,,C,,T (usermodes/noctcp)
noforward,,,,,,L,,Q,Q,Q,, noforward,,,,,,L,,Q,Q,Q,,
noinvite,,,,,,,,,,V,, noinvite,,,,,,,,,,V,,
oper,o,o,o,o,o,o,o,o,o,o,o,o oper,o,o,o,o,o,o,o,o,o,o,o,o
operwall,,,,,,,,z,z,z,z, operwall,,,,,,,,z,z,z,z,
override,,,,,,X,X,p,p,p,, override,,,,,,X,X,p,p,p,,
privdeaf,,,,,,D,,,,,, privdeaf,,,,,,D,,,,,,D (usermodes/privdeaf)
protected,,,,,,,,,,,,q protected,,,,,,,,,,,,q (usermodes/nokick)
regdeaf,,R,R,,,R,R,R,R,R,,R regdeaf,,R,R,,,R,R,R,R,R,,R (usermodes/regonlymsg)
registered,,r,r,R,r,r,r,,,,,r registered,,r,r,R,r,r,r,,,,,r
restricted,,,,r,,,,,,,, restricted,,,,r,,,,,,,,
servprotect,,,k,q,k,k,k,S,S,S,S,S servprotect,,,k,q,k,k,k,S,S,S,S,S (usermodes/servicebot)
showwhois,,,W,,,W,,,,,,W showwhois,,,W,,,W,,,,,,W (usermodes/showwhois)
sno_badclientconnections,,u,,,,,,,,,u, sno_badclientconnections,,u,,,,,,,,,u,
sno_botfloods,,b,,,,,,,,,b, sno_botfloods,,b,,,,,,,,,b,
sno_clientconnections,,c,,c,,,,,,,c, sno_clientconnections,,c,,c,,,,,,,c,
@ -48,6 +49,7 @@ sno_skill,,k,,,,,,,,,k,
sno_stats,,y,,,,,,,,,y, sno_stats,,y,,,,,,,,,y,
snomask,s,s,s,s,s,s,s,s,s,s,s,s snomask,s,s,s,s,s,s,s,s,s,s,s,s
ssl,,S,,,,z,,,,,,z ssl,,S,,,,z,,,,,,z
sslonlymsg,,,,,,,,,,,,Z (usermodes/secureonlymsg)
stripcolor,,,S,,,,,,,,, stripcolor,,,S,,,,,,,,,
vhost,,,,,,,,,,,,t vhost,,,,,,,,,,,,t
wallops,w,w,w,w,w,w,w,w,w,w,w,w wallops,w,w,w,w,w,w,w,w,w,w,w,w

1 User Mode / IRCd RFC 1459 hybrid inspircd ngircd p10/ircu p10/nefarious p10/snircd ts6/charybdis ts6/chatircd ts6/elemental ts6/ratbox unreal
2 admin a a a a a a
3 away a
4 bot B B B B B B B (usermodes/bot)
5 callerid g g g g g g
6 callerid_sslonly t
7 censor G (usermodes/censor)
8 cloak x x x x x x x x x x
9 cloak_fakehost f
10 cloak_hashedhost C
16 filter G
17 floodexempt f
18 helpop h
19 hidechans p I I n n I p p (usermodes/privacy)
20 hideidle q I I I
21 hideoper H H H H
22 invisible i i i i i i i i i i i i
23 locops l O O O l l l l
24 netadmin N
25 noctcp C T T (usermodes/noctcp)
26 noforward L Q Q Q
27 noinvite V
28 oper o o o o o o o o o o o o
29 operwall z z z z
30 override X X p p p
31 privdeaf D D (usermodes/privdeaf)
32 protected q q (usermodes/nokick)
33 regdeaf R R R R R R R R R (usermodes/regonlymsg)
34 registered r r R r r r r
35 restricted r
36 servprotect k q k k k S S S S S S (usermodes/servicebot)
37 showwhois W W W W (usermodes/showwhois)
38 sno_badclientconnections u u
39 sno_botfloods b b
40 sno_clientconnections c c c
49 sno_stats y y
50 snomask s s s s s s s s s s s s
51 ssl S z z
52 sslonlymsg Z (usermodes/secureonlymsg)
53 stripcolor S
54 vhost t
55 wallops w w w w w w w w w w w w

View File

@ -52,6 +52,7 @@ class UnrealProtocol(TS6BaseProtocol):
'topiclock': 't', 'topiclock': 't',
'voice': 'v'} 'voice': 'v'}
_KNOWN_UMODES = {'bot': 'B', _KNOWN_UMODES = {'bot': 'B',
'censor': 'G',
'cloak': 'x', 'cloak': 'x',
'deaf': 'd', 'deaf': 'd',
'filter': 'G', 'filter': 'G',
@ -63,6 +64,7 @@ class UnrealProtocol(TS6BaseProtocol):
'protected': 'q', 'protected': 'q',
'regdeaf': 'R', 'regdeaf': 'R',
'registered': 'r', 'registered': 'r',
'sslonlymsg': 'Z',
'servprotect': 'S', 'servprotect': 'S',
'showwhois': 'W', 'showwhois': 'W',
'snomask': 's', 'snomask': 's',