forked from External/ergo
Disable channel modes and remove some client modes.
This commit is contained in:
parent
c99bc6b453
commit
dbaa73a319
6 changed files with 31 additions and 100 deletions
|
|
@ -77,7 +77,7 @@ func RplCreated(server *Server) Reply {
|
|||
|
||||
func RplMyInfo(server *Server) Reply {
|
||||
return NewReply(server, RPL_MYINFO,
|
||||
fmt.Sprintf("%s %s w ikn", server.name, VERSION))
|
||||
fmt.Sprintf("%s %s w kn", server.name, VERSION))
|
||||
}
|
||||
|
||||
func RplUModeIs(server *Server, client *Client) Reply {
|
||||
|
|
@ -187,3 +187,8 @@ func ErrNoSuchNick(source Identifier, nick string) Reply {
|
|||
func ErrPasswdMismatch(server *Server) Reply {
|
||||
return NewReply(server, ERR_PASSWDMISMATCH, ":Password incorrect")
|
||||
}
|
||||
|
||||
func ErrNoChanModes(channel *Channel) Reply {
|
||||
return NewReply(channel.server, ERR_NOCHANMODES,
|
||||
channel.name+" :Channel doesn't support modes")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue