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