service: send PART in channel delete
This commit is contained in:
parent
0edf3a40c2
commit
6ddfc943f5
@ -1218,6 +1218,13 @@ func handleServiceChannelDelete(ctx context.Context, dc *downstreamConn, params
|
||||
return fmt.Errorf("failed to delete channel: %v", err)
|
||||
}
|
||||
|
||||
if uc := network.conn; uc != nil {
|
||||
uc.SendMessage(ctx, &irc.Message{
|
||||
Command: "PART",
|
||||
Params: []string{name},
|
||||
})
|
||||
}
|
||||
|
||||
sendServicePRIVMSG(dc, fmt.Sprintf("deleted channel %q", name))
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user