mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-25 21:39:25 +01:00
make gofmt happey :))
This commit is contained in:
parent
7345ecba48
commit
4700d4c048
@ -2169,7 +2169,7 @@ func dispatchMessageToTarget(client *Client, tags map[string]string, histType hi
|
|||||||
accountName := details.accountName
|
accountName := details.accountName
|
||||||
isBot := client.HasMode(modes.Bot)
|
isBot := client.HasMode(modes.Bot)
|
||||||
for _, tClient := range server.clients.AllClients() {
|
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
|
(target[1] == '#' && matcher.MatchString(tClient.Hostname())) { // $#hostname
|
||||||
|
|
||||||
tnick := tClient.Nick()
|
tnick := tClient.Nick()
|
||||||
|
Loading…
Reference in New Issue
Block a user