Accept telnet usage strings
parent
499524d9bc
commit
064e267de7
|
@ -7,11 +7,12 @@ import (
|
|||
|
||||
// A ChatCmd holds information on how to handle a chat command.
|
||||
type ChatCmd struct {
|
||||
Name string
|
||||
Perm string
|
||||
Help string
|
||||
Usage string
|
||||
Handler func(*ClientConn, io.Writer, ...string) string
|
||||
Name string
|
||||
Perm string
|
||||
Help string
|
||||
Usage string
|
||||
TelnetUsage string
|
||||
Handler func(*ClientConn, io.Writer, ...string) string
|
||||
}
|
||||
|
||||
var chatCmds map[string]ChatCmd
|
||||
|
|
Loading…
Reference in New Issue