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