summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2018-01-29 08:21:53 +0100
committerPatrick Spek <p.spek@tyil.nl>2018-01-29 08:21:53 +0100
commit66a1853c3cc75635fc1a53f412535c65f8381750 (patch)
treea766bad8f73e602ac68e244e64ee1d36d450b2b1
parentf1956c9ac132ad24080d9bb2ea2fe9219a0ecbc3 (diff)
downloadIRC::Client::Plugin::NickServ-66a1853c3cc75635fc1a53f412535c65f8381750.tar.gz
IRC::Client::Plugin::NickServ-66a1853c3cc75635fc1a53f412535c65f8381750.tar.bz2
Add some comments to the source code
-rw-r--r--lib/IRC/Client/Plugin/NickServ.pm64
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/IRC/Client/Plugin/NickServ.pm6 b/lib/IRC/Client/Plugin/NickServ.pm6
index bbdc010..d7f2f1e 100644
--- a/lib/IRC/Client/Plugin/NickServ.pm6
+++ b/lib/IRC/Client/Plugin/NickServ.pm6
@@ -5,10 +5,14 @@ use v6.c;
use Config;
use IRC::Client;
+#| The IRC::Client::Plugin to deal with NickServ interaction.
class IRC::Client::Plugin::NickServ does IRC::Client::Plugin
{
has Config $.config;
+ #| Identify with NickServ. This is done on IRC code 376 (end of MOTD),
+ #| since this is what most servers accept as the earliest time to start
+ #| interacting with the server.
method irc-n376($e)
{
# Extract the config parameters