* server:nspass removed. server:idstr added.
* Changed the way we parse strings to support multi-word
strings in config values.
This commit is contained in:
1 parent
a4317ecec7
commit
ed65193529
3 files changed
+35
-5
No files matched your search
+3
-3
@@ -57,9 +57,9 @@ 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");
|
||||
unless (!conf_get("server:$svr:idstr")) {
|
||||
my $idstr = (conf_get("server:$svr:idstr"))[0][0];
|
||||
Auto::socksnd($svr, $idstr);
|
||||
}
|
||||
|
||||
# Get the auto-join from the config.
|
||||
|
||||
Reference in new issue
Block a user