From 9c7dc4d673dab96803c7e6bfa795778229f7d834 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Tue, 27 Aug 2013 19:34:52 +0100 Subject: [PATCH] Added RPL_CHANNELMODEIS --- client.go | 2 ++ rosella.go | 1 + 2 files changed, 3 insertions(+) diff --git a/client.go b/client.go index 0526c0c..c1d12ce 100644 --- a/client.go +++ b/client.go @@ -175,6 +175,8 @@ func (c *Client) reply(code replyCode, args ...string) { c.outputChan <- fmt.Sprintf(":%s 323 %s", c.server.name, c.nick) case rplOper: c.outputChan <- fmt.Sprintf(":%s 381 %s :You are now an operator", c.server.name, c.nick) + case rplChannelModeIs: + c.outputChan <- fmt.Sprintf(":%s 324 %s %s %s", c.server.name, c.nick, args[0], args[1]) case errMoreArgs: c.outputChan <- fmt.Sprintf(":%s 461 %s :Not enough params", c.server.name, c.nick) case errNoNick: diff --git a/rosella.go b/rosella.go index a2eff91..f799d20 100644 --- a/rosella.go +++ b/rosella.go @@ -68,6 +68,7 @@ const ( rplMsg rplList rplOper + rplChannelModeIs errMoreArgs errNoNick errInvalidNick