aboutsummaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/state.go b/state.go
index 1a7ede6..e4c468b 100644
--- a/state.go
+++ b/state.go
@@ -87,9 +87,9 @@ func setState(ctx context.Context, newState uint32) error {
return false
})
case 1:
- /* TODO: Send message to all connections saying "stop" */
+ propagate("STOP")
case 2:
- /* TODO: Send message to all connections saying "start" */
+ propagate("START")
default:
return errInvalidState
}