From f4deca40eae84644d2300056916007b78ce2337f Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Sat, 31 Aug 2013 18:45:38 +0100 Subject: [PATCH] Fixed reply capitalisation in MODE command --- server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.go b/server.go index 5b9b492..1b712f5 100644 --- a/server.go +++ b/server.go @@ -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], "") } }