mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-13 07:29:30 +01:00
AWAY: Send correct mode string (thanks for pointing out this silly bug @jwheare!)
This commit is contained in:
parent
c39206ad13
commit
830484feb6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user