From fd74dca175d0abf2dec28f7c996b6789fec9c6b7 Mon Sep 17 00:00:00 2001 From: Bert Mertens Date: Wed, 27 Jan 2016 20:09:06 +0100 Subject: Add PASS support as per RFC1459 Provide a connection password via the protocol's PASS command. Imported irc.go supports it as a simple parameter: https://github.com/thoj/go-ircevent/blob/master/irc.go#L381 See https://tools.ietf.org/html/rfc1459#section-4.1 for full details. --- config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'config.go') diff --git a/config.go b/config.go index f9873766..32187d2b 100644 --- a/config.go +++ b/config.go @@ -13,6 +13,7 @@ type Config struct { Server string Port int Nick string + Password string Channel string } Mattermost struct { -- cgit v1.2.3