Added RPL_CHANNELMODEIS
This commit is contained in:
parent
b26d46ca54
commit
9c7dc4d673
@ -175,6 +175,8 @@ func (c *Client) reply(code replyCode, args ...string) {
|
|||||||
c.outputChan <- fmt.Sprintf(":%s 323 %s", c.server.name, c.nick)
|
c.outputChan <- fmt.Sprintf(":%s 323 %s", c.server.name, c.nick)
|
||||||
case rplOper:
|
case rplOper:
|
||||||
c.outputChan <- fmt.Sprintf(":%s 381 %s :You are now an operator", c.server.name, c.nick)
|
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:
|
case errMoreArgs:
|
||||||
c.outputChan <- fmt.Sprintf(":%s 461 %s :Not enough params", c.server.name, c.nick)
|
c.outputChan <- fmt.Sprintf(":%s 461 %s :Not enough params", c.server.name, c.nick)
|
||||||
case errNoNick:
|
case errNoNick:
|
||||||
|
@ -68,6 +68,7 @@ const (
|
|||||||
rplMsg
|
rplMsg
|
||||||
rplList
|
rplList
|
||||||
rplOper
|
rplOper
|
||||||
|
rplChannelModeIs
|
||||||
errMoreArgs
|
errMoreArgs
|
||||||
errNoNick
|
errNoNick
|
||||||
errInvalidNick
|
errInvalidNick
|
||||||
|
Loading…
Reference in New Issue
Block a user