forked from External/ergo
review fixes
This commit is contained in:
parent
2db14c91b9
commit
dedf78d0e9
1 changed files with 3 additions and 3 deletions
|
|
@ -378,9 +378,9 @@ func hsForbidHandler(server *Server, client *Client, command string, params []st
|
||||||
hsNotice(rb, client.t("An error occurred"))
|
hsNotice(rb, client.t("An error occurred"))
|
||||||
} else {
|
} else {
|
||||||
if forbidden {
|
if forbidden {
|
||||||
hsNotice(rb, fmt.Sprintf(client.t("Successfully forbidden vhosts to user %s"), user))
|
hsNotice(rb, fmt.Sprintf(client.t("User %s is no longer allowed to use vhosts"), user))
|
||||||
} else {
|
} else {
|
||||||
hsNotice(rb, fmt.Sprintf(client.t("Successfully permitted vhosts for user %s"), user))
|
hsNotice(rb, fmt.Sprintf(client.t("User %s is now allowed to use vhosts"), user))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -389,7 +389,7 @@ func hsOfferListHandler(server *Server, client *Client, command string, params [
|
||||||
vhostConfig := server.Config().Accounts.VHosts
|
vhostConfig := server.Config().Accounts.VHosts
|
||||||
if len(vhostConfig.OfferList) == 0 {
|
if len(vhostConfig.OfferList) == 0 {
|
||||||
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"))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue