aboutsummaryrefslogtreecommitdiff
path: root/lib/IRC/Client/Server.pm6
diff options
context:
space:
mode:
authorZoffix Znet <cpan@zoffix.com>2016-08-02 10:13:51 -0400
committerZoffix Znet <cpan@zoffix.com>2016-08-02 10:13:51 -0400
commited6c6f01bd563df1c4f7ec1a7e6262bffb6c24cc (patch)
tree22d90e1c9fa9d271849bd53f605b73b66e9934e6 /lib/IRC/Client/Server.pm6
parent5d193e0c18f747f2f4f71d068f1baa31f94fe3aa (diff)
Add support for channel passwords
Closes #18
Diffstat (limited to 'lib/IRC/Client/Server.pm6')
-rw-r--r--lib/IRC/Client/Server.pm62
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IRC/Client/Server.pm6 b/lib/IRC/Client/Server.pm6
index 1857fcc..f438d6d 100644
--- a/lib/IRC/Client/Server.pm6
+++ b/lib/IRC/Client/Server.pm6
@@ -1,6 +1,6 @@
unit class IRC::Client::Server;
-has @.channels where .all ~~ Str;
+has @.channels where .all ~~ Str|Pair;
has @.nick where .all ~~ Str;
has Int $.port where 0 <= $_ <= 65535;
has Str $.label;