summaryrefslogtreecommitdiff
path: root/cmd/dolmetschctld/telnet.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-02-11 00:19:06 +0100
committerChristian Pointner <equinox@spreadspace.org>2019-02-11 00:19:06 +0100
commitb8aa110705d2ef81028386f5d7bd1d1f2d086715 (patch)
treedfe778dd7dcfd2e52970e71aedd5c4eb3646b645 /cmd/dolmetschctld/telnet.go
parentadded function to get state (diff)
better nameing than main and voice
Diffstat (limited to 'cmd/dolmetschctld/telnet.go')
-rw-r--r--cmd/dolmetschctld/telnet.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dolmetschctld/telnet.go b/cmd/dolmetschctld/telnet.go
index d6a5c4a..a7ede85 100644
--- a/cmd/dolmetschctld/telnet.go
+++ b/cmd/dolmetschctld/telnet.go
@@ -58,7 +58,7 @@ func telnetCmdRatio(c *telgo.Client, args []string, sm *StateMachine) bool {
return false
}
if len(args) == 1 {
- c.Sayln("current ratio: %1.3f", sm.GetMain2VoiceRatio())
+ c.Sayln("current ratio: %1.3f", sm.GetOriginal2InterpreterRatio())
return false
}
@@ -68,7 +68,7 @@ func telnetCmdRatio(c *telgo.Client, args []string, sm *StateMachine) bool {
return false
}
- if err := sm.SetMain2VoiceRatio(float32(r)); err != nil {
+ if err := sm.SetOriginal2InterpreterRatio(float32(r)); err != nil {
c.Sayln("setting ratio failed: %v", err)
}
return false