From 0883560c27938a78fa4d1112e10d1b4d0d96a610 Mon Sep 17 00:00:00 2001 From: Liam Stanley Date: Wed, 9 Aug 2017 05:05:32 -0400 Subject: [PATCH] remove duplicate func --- client.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/client.go b/client.go index bb38fc9..7beb3f0 100644 --- a/client.go +++ b/client.go @@ -523,17 +523,6 @@ func (c *Client) GetServerOption(key string) (result string, ok bool) { return result, ok } -// ServerName returns the server host/name that the server itself identifies -// as. May be empty if the server does not support RPL_MYINFO. Will panic if -// used when tracking has been disabled. -func (c *Client) ServerName() (name string) { - c.panicIfNotTracking() - - name, _ = c.GetServerOption("NETWORK") - - return name -} - // NetworkName returns the network identifier. E.g. "EsperNet", "ByteIRC". // May be empty if the server does not support RPL_ISUPPORT (or RPL_PROTOCTL). // Will panic if used when tracking has been disabled.