forked from External/ergo
Um... name monitor subcommands handler properly
This commit is contained in:
parent
b6ba2c7b7a
commit
27c575e191
2 changed files with 2 additions and 2 deletions
|
|
@ -1445,7 +1445,7 @@ func umodeHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Res
|
|||
|
||||
// MONITOR <subcmd> [params...]
|
||||
func monitorHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *ResponseBuffer) bool {
|
||||
handler, exists := metadataSubcommands[strings.ToLower(msg.Params[0])]
|
||||
handler, exists := monitorSubcommands[strings.ToLower(msg.Params[0])]
|
||||
|
||||
if !exists {
|
||||
rb.Add(nil, server.name, ERR_UNKNOWNERROR, client.Nick(), "MONITOR", msg.Params[0], client.t("Unknown subcommand"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue