diff options
author | Benny Morrison <benmorrison@ttm.sh> | 2019-03-19 00:49:49 -0400 |
---|---|---|
committer | Benny Morrison <benmorrison@ttm.sh> | 2019-03-19 00:49:49 -0400 |
commit | f00126dec09303135741e45e01f56b88de068e6e (patch) | |
tree | f16d0b9ca2f0468c4d1da8248795702bc3687060 | |
parent | 5735c2474402eb665ba0932344ee4652230f7ce5 (diff) | |
download | goofbot-f00126dec09303135741e45e01f56b88de068e6e.tar.gz |
command !users refactoring in progress
-rw-r--r-- | main.go | 2 |
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 |