mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-14 07:59:31 +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,
|
mode: Away,
|
||||||
op: op,
|
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
|
// dispatch away-notify
|
||||||
for friend := range client.Friends(AwayNotify) {
|
for friend := range client.Friends(AwayNotify) {
|
||||||
|
Loading…
Reference in New Issue
Block a user