mirror of
https://github.com/ergochat/ergo.git
synced 2025-04-25 17:27:56 +02:00
fix #468
This commit is contained in:
parent
8d50500b7d
commit
d6b22b925a
@ -489,7 +489,7 @@ func awayHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Resp
|
|||||||
|
|
||||||
// dispatch away-notify
|
// dispatch away-notify
|
||||||
for session := range client.Friends(caps.AwayNotify) {
|
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)
|
session.Send(nil, server.name, "MODE", details.nick, modeString)
|
||||||
}
|
}
|
||||||
if isAway {
|
if isAway {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user