forked from External/ergo
rename IncludeAllChannelAttrs
This commit is contained in:
parent
c0192e0e52
commit
3005e95c1f
3 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue