mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-15 12:18:11 -07:00
remove channelJoinPartMutex
This commit is contained in:
+3
-6
@@ -52,12 +52,9 @@ func (manager *MonitorManager) AlertAbout(client *Client, online bool) {
|
||||
command = RPL_MONONLINE
|
||||
}
|
||||
|
||||
// asynchronously send all the notifications
|
||||
go func() {
|
||||
for _, mClient := range watchers {
|
||||
mClient.Send(nil, client.server.name, command, mClient.getNick(), nick)
|
||||
}
|
||||
}()
|
||||
for _, mClient := range watchers {
|
||||
mClient.Send(nil, client.server.name, command, mClient.getNick(), nick)
|
||||
}
|
||||
}
|
||||
|
||||
// Add registers `client` to receive notifications about `nick`.
|
||||
|
||||
Reference in New Issue
Block a user