mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 20:09:41 +01:00
parent
5c4984f45f
commit
76b0e44474
@ -579,7 +579,12 @@ 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 {
|
||||||
service.Notice(rb, client.t("Could not transfer channel"))
|
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"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user