3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +01:00
This commit is contained in:
Shivaram Lingamneni 2019-04-28 14:38:27 -04:00
parent 8d50500b7d
commit d6b22b925a

View File

@ -489,7 +489,7 @@ func awayHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Resp
// dispatch away-notify
for session := range client.Friends(caps.AwayNotify) {
if session != rb.session && rb.session.client == client {
if session != rb.session && rb.session.client == session.client {
session.Send(nil, server.name, "MODE", details.nick, modeString)
}
if isAway {