diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-12-31 19:22:37 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-12-31 19:22:37 (GMT) |
commit | c6bd4e4e5191ee75cb8312072daac29fd1cc90da (patch) | |
tree | 47fe07461d173bff6af3d314efc8fdfe88925cf7 | |
parent | 26f2b95168cab463e094a13991b8a486a68e684f (diff) |
small change in telgo API
-rw-r--r-- | src/helsinki.at/rhimportd/ctrlTelnet.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helsinki.at/rhimportd/ctrlTelnet.go b/src/helsinki.at/rhimportd/ctrlTelnet.go index 7373de3..eac36e9 100644 --- a/src/helsinki.at/rhimportd/ctrlTelnet.go +++ b/src/helsinki.at/rhimportd/ctrlTelnet.go @@ -276,7 +276,7 @@ func telnetRun(c *telgo.TelnetClient, args []string, conf *rhimport.Config, rddb } func StartControlTelnet(addr string, conf *rhimport.Config, rddb *rhimport.RdDbChan, sessions *rhimport.SessionStoreChan) { - cmdlist := make(telgo.TelgoCmdList) + cmdlist := make(telgo.CmdList) cmdlist["quit"] = func(c *telgo.TelnetClient, args []string) bool { return telnetQuit(c, args, conf, rddb) } cmdlist["help"] = func(c *telgo.TelnetClient, args []string) bool { return telnetHelp(c, args, conf, rddb) } cmdlist["set"] = func(c *telgo.TelnetClient, args []string) bool { return telnetSet(c, args, conf, rddb) } |