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:
parent
4b5f4b6755
commit
1bc08f18b7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user