1
0
Fork 0
forked from External/ergo

rename IncludeAllChannelAttrs

This commit is contained in:
Shivaram Lingamneni 2020-03-02 01:46:22 -05:00
parent c0192e0e52
commit 3005e95c1f
3 changed files with 5 additions and 5 deletions

View file

@ -359,7 +359,7 @@ func (channel *Channel) Transfer(client *Client, target string, hasPrivs bool) (
status = channelTransferFailed
defer func() {
if status == channelTransferComplete && err == nil {
channel.Store(IncludeAllChannelAttrs)
channel.Store(IncludeAllAttrs)
}
}()
@ -400,7 +400,7 @@ func (channel *Channel) transferOwnership(newOwner string) {
func (channel *Channel) AcceptTransfer(client *Client) (err error) {
defer func() {
if err == nil {
channel.Store(IncludeAllChannelAttrs)
channel.Store(IncludeAllAttrs)
}
}()