Browse Source

fix #850

tags/v2.1.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
5e5003f5b6
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      irc/server.go

+ 3
- 0
irc/server.go View File

@@ -516,6 +516,9 @@ func (client *Client) getWhoisOf(target *Client, rb *ResponseBuffer) {
516 516
 		}
517 517
 	}
518 518
 	rb.Add(nil, client.server.name, RPL_WHOISIDLE, cnick, tnick, strconv.FormatUint(target.IdleSeconds(), 10), strconv.FormatInt(target.SignonTime(), 10), client.t("seconds idle, signon time"))
519
+	if target.Away() {
520
+		rb.Add(nil, client.server.name, RPL_AWAY, cnick, tnick, target.AwayMessage())
521
+	}
519 522
 }
520 523
 
521 524
 // rplWhoReply returns the WHO reply between one user and another channel/user.

Loading…
Cancel
Save