diff options
Diffstat (limited to 'cmd/dolmetschctld/telnet.go')
-rw-r--r-- | cmd/dolmetschctld/telnet.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/dolmetschctld/telnet.go b/cmd/dolmetschctld/telnet.go index a5a4555..5618ebe 100644 --- a/cmd/dolmetschctld/telnet.go +++ b/cmd/dolmetschctld/telnet.go @@ -26,6 +26,7 @@ import ( "strconv" "github.com/spreadspace/telgo" + "spreadspace.org/dolmetschctl/pkg/types" ) type TelnetInterface struct { @@ -42,7 +43,7 @@ func telnetCmdLang(c *telgo.Client, args []string, sm *StateMachine) bool { return false } - if err := sm.SetLanguage(Language(args[1])); err != nil { + if err := sm.SetLanguage(types.Language(args[1])); err != nil { c.Sayln("selecting language failed: %v", err) } return false |