Added server:nspass to config. Will be replaced in the future by idstr.

This commit is contained in:
Elijah Perrault committed 2011-01-20 22:47:01 -07:00
1 parent 512c351577
commit 11806811d3
2 files changed
+8

No files matched your search

+2
View File
@@ -3,6 +3,8 @@ Auto IRC Bot 3.0: Change Log
3.0 Indev
==================================================================
* Added server:nspass to config options. Will be replaced in
the future by idstr.
* Parse NICK.
* Added usrc() to API::IRC for formatting a source.
* Added awarn() to API::Std for warnings.
+6
View File
@@ -56,6 +56,12 @@ sub num001
$got_001{$svr} = 1;
# Identify string.
unless (!conf_get("server:$svr:nspass")) {
my $nspass = (conf_get("server:$svr:nspass"))[0][0];
Auto::socksnd($svr, "PRIVMSG NickServ :IDENTIFY $nspass");
}
# Get the auto-join from the config.
my @cajoin = @{ (conf_get("server:$svr:ajoin"))[0] };