aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 08f58c7..6fa3844 100644
--- a/main.go
+++ b/main.go
@@ -484,9 +484,9 @@ func listenForCommands(players *players) {
players,
}
if isSharing {
- WRITER = io.MultiWriter(SHAREWRITER, DATAWRITER, os.Stdout)
+ WRITER = io.MultiWriter(os.Stdout, SHAREWRITER, DATAWRITER)
} else {
- WRITER = io.MultiWriter(DATAWRITER, os.Stdout)
+ WRITER = io.MultiWriter(os.Stdout, DATAWRITER)
}
isDataSharing = true
}