3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-23 11:12:44 +01:00

I forgot a little typo

This commit is contained in:
vegax87 2017-01-23 18:51:09 +01:00
parent 1bb9502206
commit 2ff48a7088

View File

@ -1863,7 +1863,7 @@ func userhostHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool
if target.flags[Away] { if target.flags[Away] {
client.Send(nil, client.server.name, RPL_USERHOST, client.nick, fmt.Sprintf("%s =- %s @ %s", target.nick, target.username, target.hostname)) client.Send(nil, client.server.name, RPL_USERHOST, client.nick, fmt.Sprintf("%s =- %s @ %s", target.nick, target.username, target.hostname))
} else { } else {
client.Send(nil, client.server.name, RPL_USERHOST, client.nick, fmt.Sprintf("%s =- %s @ %s", target.nick, target.username, target.hostname)) client.Send(nil, client.server.name, RPL_USERHOST, client.nick, fmt.Sprintf("%s =+ %s @ %s", target.nick, target.username, target.hostname))
} }
return false return false
} }