From be9257d32313c5e5fe64d0440b9e608ae765740b Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Fri, 16 Sep 2016 19:43:45 +0100 Subject: [PATCH] Fix example code, oops. --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index e90fa77..204b297 100644 --- a/client.go +++ b/client.go @@ -73,7 +73,7 @@ func main() { c.Quit(cmd[idx+1 : len(cmd)]) case cmd[1] == 's': reallyquit = true - c.Shutdown() + c.Close() case cmd[1] == 'j': c.Join(cmd[idx+1 : len(cmd)]) case cmd[1] == 'p':