3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +01:00

dline: Display correct message on bad dline

This commit is contained in:
Daniel Oaks 2017-01-11 22:37:58 +10:00
parent 4b5f4b6755
commit 1bc08f18b7

View File

@ -360,6 +360,7 @@ func unDLineHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool
if err != nil {
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 {