1
0
Fork 0
forked from External/ergo

Be less strict with our language file loading, and handle multiple credits better

This commit is contained in:
Daniel Oaks 2019-02-03 20:21:07 +10:00
parent bcb8a6fe7e
commit 46f8ef9ed3
2 changed files with 26 additions and 30 deletions

View file

@ -806,7 +806,7 @@ func infoHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Resp
if 0 < len(tlines) {
rb.Add(nil, server.name, RPL_INFO, client.nick, client.t("Translators:"))
for _, line := range tlines {
rb.Add(nil, server.name, RPL_INFO, client.nick, " "+line)
rb.Add(nil, server.name, RPL_INFO, client.nick, " "+strings.Replace(line, "\n", ", ", -1))
}
rb.Add(nil, server.name, RPL_INFO, client.nick, "")
}