Fixed reply capitalisation in MODE command
This commit is contained in:
parent
df9ece79e3
commit
f4deca40ea
@ -476,9 +476,9 @@ func (s *Server) handleEvent(e Event) {
|
||||
|
||||
for _, client := range channel.clientMap {
|
||||
if hasClient {
|
||||
client.reply(rplChannelModeIs, args[0], args[1], targetClient.nick)
|
||||
client.reply(rplChannelModeIs, channel.name, args[1], targetClient.nick)
|
||||
} else {
|
||||
client.reply(rplChannelModeIs, args[0], args[1], "")
|
||||
client.reply(rplChannelModeIs, channel.name, args[1], "")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user