mirror of
https://github.com/ergochat/ergo.git
synced 2025-01-08 19:22:53 +01:00
dline: Display correct message on bad dline
This commit is contained in:
parent
4b5f4b6755
commit
1bc08f18b7
@ -360,6 +360,7 @@ func unDLineHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool
|
|||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
client.Send(nil, server.name, ERR_UNKNOWNERROR, client.nick, msg.Command, fmt.Sprintf("Could not remove ban [%s]", err.Error()))
|
client.Send(nil, server.name, ERR_UNKNOWNERROR, client.nick, msg.Command, fmt.Sprintf("Could not remove ban [%s]", err.Error()))
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
if hostNet == nil {
|
if hostNet == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user