3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-01-12 13:12:39 +01:00

review fixes

This commit is contained in:
Shivaram Lingamneni 2020-01-11 22:52:05 -05:00
parent 05cb80507f
commit 2db14c91b9

View File

@ -391,12 +391,12 @@ func hsOfferListHandler(server *Server, client *Client, command string, params [
if vhostConfig.UserRequests.Enabled { if vhostConfig.UserRequests.Enabled {
hsNotice(rb, client.t("The server does not offer any vhosts (but you can request one with /HOSTSERV REQUEST)")) hsNotice(rb, client.t("The server does not offer any vhosts (but you can request one with /HOSTSERV REQUEST)"))
} else { } else {
hsNotice(rb, client.t("The server does not offer any vhosts)")) hsNotice(rb, client.t("The server does not offer any vhosts"))
} }
} else { } else {
hsNotice(rb, client.t("The following vhosts are available and can be chosen with /HOSTSERV TAKE:")) hsNotice(rb, client.t("The following vhosts are available and can be chosen with /HOSTSERV TAKE:"))
for i, vhost := range vhostConfig.OfferList { for _, vhost := range vhostConfig.OfferList {
hsNotice(rb, fmt.Sprintf("%d. %s", i+1, vhost)) hsNotice(rb, vhost)
} }
} }
} }