From 4700d4c048b7047902c813c81c5256fb5149c11f Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 20 Apr 2021 11:05:05 +0000 Subject: [PATCH] make gofmt happey :)) --- irc/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/handlers.go b/irc/handlers.go index 5ffb0ee8..c6e36c3b 100644 --- a/irc/handlers.go +++ b/irc/handlers.go @@ -2169,7 +2169,7 @@ func dispatchMessageToTarget(client *Client, tags map[string]string, histType hi accountName := details.accountName isBot := client.HasMode(modes.Bot) for _, tClient := range server.clients.AllClients() { - if (target[1] == '$' && matcher.MatchString(tClient.server.name)) || // $$servername + if (target[1] == '$' && matcher.MatchString(tClient.server.name)) || // $$servername (target[1] == '#' && matcher.MatchString(tClient.Hostname())) { // $#hostname tnick := tClient.Nick()