From c6bd4e4e5191ee75cb8312072daac29fd1cc90da Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 31 Dec 2015 20:22:37 +0100 Subject: small change in telgo API 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) } -- cgit v0.10.2