From 98cee4deebfba64dd7143f97675788b175fb8fb4 Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Fri, 1 Jan 2016 09:00:37 -0500 Subject: Add server password support (Relates to #3) --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 2bb94a5..25fc9bd 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ method irc-all-events ($irc, $e) { - [`new`](#new) - [`debug`](#debug) - [`host`](#host) + - [`password`](#password) - [`port`](#port) - [`nick`](#nick) - [`username`](#username) @@ -147,6 +148,7 @@ my $irc = IRC::Client.new; my $irc = IRC::Client.new( debug => False, host => 'localhost', + password => 's3cret', port => 6667, nick => 'Perl6IRC', username => 'Perl6IRC', @@ -177,6 +179,14 @@ will be printed by the modules on the STDOUT. **Defaults to:** `False` Specifies the hostname of the IRC server to connect to. **Defaults to:** `localhost` +### `password` + +```perl6 + password => 's3cret', +``` +Specifies the password for the IRC server. (on Freenode, for example, this +is the NickServ password that identifies to services). + ### `port` ```perl6 -- cgit v1.1