Updated all templates to use instance variables

This commit is contained in:
Ossi Salmi 2013-05-05 00:07:55 +03:00
parent a0c854d3c0
commit dc51af1ca2
113 changed files with 527 additions and 522 deletions

View file

@ -130,7 +130,7 @@ admin {
/* connect: specifies a server to connect to, name of uplink
* is specified in quotation marks
*/
connect "<%= servername %>" {
connect "<%= @servername %>" {
/* host: the host to connect to */
host = "127.0.0.1";
@ -138,10 +138,10 @@ connect "<%= servername %>" {
# vhost = "10.0.0.2";
/* password: the password to use */
password = "<%= servpass %>";
password = "<%= @servpass %>";
/* port: the port to connect on */
port = <%= port %>;
port = <%= @port %>;
/* autoconn: auto connect to this server. default yes */
# autoconn = no;
@ -154,7 +154,7 @@ operator "root" {
/* user: specifies a user@host who may connect.
* multiple may be specified, wildcards are accepted.
*/
<% operator.each do |user| -%>
<% @operator.each do |user| -%>
user = "<%= user %>";
<% end -%>
@ -164,7 +164,7 @@ operator "root" {
#user = "flame@127.0.0.1", "irc.ircd-ratbox.org";
/* password: the password to login */
password = "<%= operpass %>";
password = "<%= @operpass %>";
/* encrypted: specifies whether the above password has been
* encrypted or not. default: yes