Added server:nspass to config. Will be replaced in the future by idstr.
This commit is contained in:
1 parent
512c351577
commit
11806811d3
2 files changed
+8
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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] };
|
||||
|
||||
|
||||
Reference in new issue
Block a user