about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenny Morrison <benmorrison@ttm.sh>2019-03-19 00:49:49 -0400
committerBenny Morrison <benmorrison@ttm.sh>2019-03-19 00:49:49 -0400
commitf00126dec09303135741e45e01f56b88de068e6e (patch)
treef16d0b9ca2f0468c4d1da8248795702bc3687060
parent5735c2474402eb665ba0932344ee4652230f7ce5 (diff)
downloadgoofbot-f00126dec09303135741e45e01f56b88de068e6e.tar.gz
command !users refactoring in progress
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index bd61e94..2ec1632 100644
--- a/main.go
+++ b/main.go
@@ -157,7 +157,7 @@ func main() {
 			who.Wait()
 			w.Close()
 			awk.Wait()
-			io.Copy(os.Stdout, &bytestream)
+			r.Close()
 
 			c.Cmd.Reply(e, bytestream.String())
 			return