We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the spec for LIST writes:
LIST
Parameters: [<channel>{,<channel>}] [<elistcond>{,<elistcond>}]
But this seems to be wrong in practice, in several ways.
In the following tests, #chan1 has 1 user, #chan2 has 2, and #chan3 has 1:
#chan1
#chan2
#chan3
LIST #chan1,#chan2:
LIST #chan1,#chan2
LIST:1
TARGMAX
LIST *an1,*an2:
LIST *an1,*an2
M
ELIST
LIST #chan1 <1:
LIST #chan1 <1
U
LIST #chan1,#chan2 >0:
LIST #chan1,#chan2 >0
(full logs: https://pr-193-6559bb34c0--radiant-beignet-ceec1b.netlify.app/irctest.server_tests.list.xhtml ; examples above are respectively from testListTwoChannels, testListTwoMasks, testListTwoParams, and testListTwoParams again)
testListTwoChannels
testListTwoMasks
testListTwoParams
The text was updated successfully, but these errors were encountered:
Hello, I commented already on the channel:
At least on solanum (libera), where I tested this,
channel (or mask) and elistcond are not two whitespace-separated params to LIST, but have to be passed as one single parameter, separated by a comma.
So this
LIST *mask* >10
doesnt work and the second parameter is ignored, but this
LIST <10,*mask*,>10
does work, because all three conditions are only one parameter.
That also seems to be the case on unreal but I only have tested it on solanum.
Sorry, something went wrong.
@McParen that's because *mask* is not a channel, it's an elist cond (ELIST=M, specifically)
*mask*
ELIST=M
and LIST #channel,>10 works too, because masks are a superset of valid channel names
LIST #channel,>10
No branches or pull requests
the spec for
LIST
writes:But this seems to be wrong in practice, in several ways.
In the following tests,
#chan1
has 1 user,#chan2
has 2, and#chan3
has 1:LIST #chan1,#chan2
:#chan1
and#chan2
on: irc2, ircu2/nefarious, ngircd, unrealircd (<- current specced behavior)LIST:1
is inTARGMAX
LIST *an1,*an2
:#chan1
and#chan2
on: unrealircd (<- current specced behavior)LIST:1
is inTARGMAX
or because they don't haveM
inELIST
)LIST #chan1 <1
:#chan1
on: charybdis/solanum, hybrid/plexus4, unrealircdU
inELIST
)LIST #chan1,#chan2 >0
:#chan1
and#chan2
U
inELIST
)LIST:1
is inTARGMAX
(full logs: https://pr-193-6559bb34c0--radiant-beignet-ceec1b.netlify.app/irctest.server_tests.list.xhtml ; examples above are respectively from
testListTwoChannels
,testListTwoMasks
,testListTwoParams
, andtestListTwoParams
again)The text was updated successfully, but these errors were encountered: