Fixed reply capitalisation in MODE command

This commit is contained in:
Harry Jeffery 2013-08-31 18:45:38 +01:00
parent df9ece79e3
commit f4deca40ea

View File

@ -476,9 +476,9 @@ func (s *Server) handleEvent(e Event) {
for _, client := range channel.clientMap { for _, client := range channel.clientMap {
if hasClient { if hasClient {
client.reply(rplChannelModeIs, args[0], args[1], targetClient.nick) client.reply(rplChannelModeIs, channel.name, args[1], targetClient.nick)
} else { } else {
client.reply(rplChannelModeIs, args[0], args[1], "") client.reply(rplChannelModeIs, channel.name, args[1], "")
} }
} }