forked from External/ergo
review fixes
This commit is contained in:
parent
05cb80507f
commit
2db14c91b9
1 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue