3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +01:00

AWAY: Send correct mode string (thanks for pointing out this silly bug @jwheare!)

This commit is contained in:
Daniel Oaks 2017-09-29 11:53:26 +10:00
parent c39206ad13
commit 830484feb6

View File

@ -1652,7 +1652,7 @@ func awayHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
mode: Away,
op: op,
}}
client.Send(nil, server.name, "MODE", client.nick, client.nick, modech.String())
client.Send(nil, server.name, "MODE", client.nick, modech.String())
// dispatch away-notify
for friend := range client.Friends(AwayNotify) {