3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

OPER: Fix sent MODE string

This commit is contained in:
Daniel Oaks 2016-08-12 22:26:45 +10:00
parent a5911ad14c
commit 5e55e35774

View File

@ -721,7 +721,7 @@ func operHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
mode: Operator,
op: Add,
}}
client.Send(nil, server.nameString, "MODE", client.nickString, client.nickString, modech.String())
client.Send(nil, server.nameString, "MODE", client.nickString, modech.String())
return false
}