Limnoria
Limnoria copied to clipboard
channel.join: '#channel,#channel2' is not a valid channel (RFC violation)
I am unable to join the bot to multiple channels using join #channel,#channel2 as the bot replies Error: '#channel,#channel2' is not a valid channel.
This violates RFC 1459 and RFC 2812.
- https://tools.ietf.org/html/rfc1459#section-4.2.1
- https://tools.ietf.org/html/rfc2812#section-3.2.1
How should the [<key>] argument be handled in this case? Does it apply for the first channel, all of them, or should it also be a comma-separated list corresponding to the channels?
!join #channel,#keyedchannel ,channel2password is the RFC format unless I entirely misunderstand. You might want to ask on #IRCv3…
Hi, I have made some tests with [key] using InspIRCd-2.0 and HexChat 2.10.2. My test cases are as follows:
#lounge(channel has no key)#notest(key=ok)#testagain(key=notok)
JOIN #lounge,#notest,#testagain ok notok
- Can only join
#loungecorrectly. Now talking in #lounge#notest unable to join channel (need correct key)#testagain unable to join channel (need correct key)
JOIN #lounge,#notest,#testagain ok,notok
- Can only join
#loungecorrectly. Now talking in #lounge#notest unable to join channel (need correct key)#testagain unable to join channel (need correct key)
JOIN #notest,#testagain,#lounge ok,notok
- Can join
#notest,#testagainand#loungecorrectly. Now talking in #notestNow talking in #testagainNow talking in #lounge
JOIN #lounge,#notest ok
- Edit: Can only join
#loungecorrectly. - ~~Can join
#loungeand#notestcorrectly.~~ Now talking in #lounge- ~~
Now talking in #notest~~ #notest unable to join channel (need correct key)
JOIN #notest,#lounge ok
- Can join
#notestand#loungecorrectly. Now talking in #notestNow talking in #lounge
JOIN #lounge,#notest ,ok
- Can join
#loungeand#notestcorrectly. Now talking in #loungeNow talking in #notest
JOIN #lounge,#notest,#testagain ,ok,notok
- Can join
#lounge,#notestand#testagaincorrectly. Now talking in #loungeNow talking in #notestNow talking in #testagain
JOIN #notest,#lounge,#testagain ok,,notok
- Can join
#notest,#loungeand#testagaincorrectly. Now talking in #notestNow talking in #loungeNow talking in #testagain
wow.
@GLolol @Mikaela I think this is how you would send the raw message:
JOIN #NormalChannel,#KeyedChannel x,TheKey
If the channel doesn't have a key, then the key you pass is just ignored.
@nyuszika7h: Eh? I shall try that when I switch to a new ISP.
@dboyz According to RFC 2812, an empty key like you described (e.g. JOIN #foo,#bar ,barkey) is invalid, and it does not work on freenode (gives "Invalid key" for #bar). The x method should work everywhere, though.