3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-01-24 11:14:10 +01:00

monitor: Send with account-tag where appropriate

This commit is contained in:
Daniel Oaks 2016-11-29 21:40:56 +10:00
parent dc605ebb01
commit 7068072292

View File

@ -16,7 +16,7 @@ func (client *Client) alertMonitors() {
for _, mClient := range client.server.monitoring[client.nickCasefolded] { for _, mClient := range client.server.monitoring[client.nickCasefolded] {
// don't have to notify ourselves // don't have to notify ourselves
if &mClient != client { if &mClient != client {
mClient.Send(nil, client.server.name, RPL_MONONLINE, mClient.nick, client.nickMaskString) mClient.SendFromClient(client, nil, client.server.name, RPL_MONONLINE, mClient.nick, client.nickMaskString)
} }
} }
} }