From 52e05d3c15d60a919e3010ebb19689e3f60b7da6 Mon Sep 17 00:00:00 2001 From: Liam Stanley Date: Mon, 6 Feb 2017 03:53:05 -0500 Subject: [PATCH] success -> ok --- client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client.go b/client.go index 877404b..bf2fc5f 100644 --- a/client.go +++ b/client.go @@ -825,16 +825,16 @@ func (c *Client) Whowas(nick string, amount int) error { // // nickLen, success := GetServerOption("MAXNICKLEN") // -func (c *Client) GetServerOption(key string) (result string, success bool) { +func (c *Client) GetServerOption(key string) (result string, ok bool) { if c.config.DisableTracking { panic("GetServerOption() used when tracking is disabled") } c.state.mu.Lock() - result, success = c.state.serverOptions[key] + result, ok = c.state.serverOptions[key] c.state.mu.Unlock() - return result, success + return result, ok } // ServerName returns the server host/name that the server itself identifies