Add ELIST support in single-upstream mode
We just forward the command as-is, so we can pass down the ISUPPORT token as well. Closes: https://todo.sr.ht/~emersion/soju/148
This commit is contained in:
parent
0b6ff2e61a
commit
f920f27e02
@ -219,6 +219,7 @@ var passthroughIsupport = map[string]bool{
|
|||||||
"CHANNELLEN": true,
|
"CHANNELLEN": true,
|
||||||
"CHANTYPES": true,
|
"CHANTYPES": true,
|
||||||
"CLIENTTAGDENY": true,
|
"CLIENTTAGDENY": true,
|
||||||
|
"ELIST": true,
|
||||||
"EXCEPTS": true,
|
"EXCEPTS": true,
|
||||||
"EXTBAN": true,
|
"EXTBAN": true,
|
||||||
"HOSTLEN": true,
|
"HOSTLEN": true,
|
||||||
@ -1835,8 +1836,6 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
|
|||||||
sendTopic(dc, ch)
|
sendTopic(dc, ch)
|
||||||
}
|
}
|
||||||
case "LIST":
|
case "LIST":
|
||||||
// TODO: support ELIST when supported by all upstreams
|
|
||||||
|
|
||||||
network := dc.network
|
network := dc.network
|
||||||
if network == nil && len(msg.Params) > 0 {
|
if network == nil && len(msg.Params) > 0 {
|
||||||
var err error
|
var err error
|
||||||
|
Loading…
Reference in New Issue
Block a user