* 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:
Elijah Perrault committed 2011-01-21 00:39:49 -07:00
1 parent a4317ecec7
commit ed65193529
3 files changed
+35 -5

No files matched your search

+3 -3
View File
@@ -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.