|
@@ -2169,7 +2169,7 @@ func dispatchMessageToTarget(client *Client, tags map[string]string, histType hi
|
2169
|
2169
|
accountName := details.accountName
|
2170
|
2170
|
isBot := client.HasMode(modes.Bot)
|
2171
|
2171
|
for _, tClient := range server.clients.AllClients() {
|
2172
|
|
- if (target[1] == '$' && matcher.MatchString(tClient.server.name)) || // $$servername
|
|
2172
|
+ if (target[1] == '$' && matcher.MatchString(tClient.server.name)) || // $$servername
|
2173
|
2173
|
(target[1] == '#' && matcher.MatchString(tClient.Hostname())) { // $#hostname
|
2174
|
2174
|
|
2175
|
2175
|
tnick := tClient.Nick()
|