From 40bd298a919c871c88eaee974801b159984b6c82 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 2 Jan 2022 01:07:37 -0500 Subject: [PATCH] fix the reopened #1844 --- irc/hostserv.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irc/hostserv.go b/irc/hostserv.go index fedfbbea..e69d19e7 100644 --- a/irc/hostserv.go +++ b/irc/hostserv.go @@ -178,10 +178,10 @@ func hsSetHandler(service *ircService, server *Server, client *Client, command s service.Notice(rb, client.t("An error occurred")) } else if vhost != "" { service.Notice(rb, client.t("Successfully set vhost")) - server.snomasks.Send(sno.LocalVhosts, fmt.Sprintf("Operator %s set vhost %s on account %s", oper.Name, user, vhost)) + server.snomasks.Send(sno.LocalVhosts, fmt.Sprintf("Operator %[1]s set vhost %[2]s on account %[3]s", oper.Name, vhost, user)) } else { service.Notice(rb, client.t("Successfully cleared vhost")) - server.snomasks.Send(sno.LocalVhosts, fmt.Sprintf("Operator %s cleared vhost on account %s", oper.Name, user)) + server.snomasks.Send(sno.LocalVhosts, fmt.Sprintf("Operator %[1]s cleared vhost on account %[2]s", oper.Name, user)) } }