forked from External/ergo
parent
5c4984f45f
commit
76b0e44474
1 changed files with 6 additions and 1 deletions
|
|
@ -579,8 +579,13 @@ func csTransferHandler(service *ircService, server *Server, client *Client, comm
|
||||||
service.Notice(rb, fmt.Sprintf(client.t("Cancelled pending transfer of channel %s"), chname))
|
service.Notice(rb, fmt.Sprintf(client.t("Cancelled pending transfer of channel %s"), chname))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
switch err {
|
||||||
|
case errChannelNotOwnedByAccount:
|
||||||
|
service.Notice(rb, client.t("You don't own that channel"))
|
||||||
|
default:
|
||||||
service.Notice(rb, client.t("Could not transfer channel"))
|
service.Notice(rb, client.t("Could not transfer channel"))
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func sendTransferPendingNotice(service *ircService, server *Server, account, chname string) {
|
func sendTransferPendingNotice(service *ircService, server *Server, account, chname string) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue