Updated all templates to use instance variables
This commit is contained in:
parent
a0c854d3c0
commit
dc51af1ca2
113 changed files with 527 additions and 522 deletions
|
@ -28,7 +28,7 @@
|
|||
/* serverinfo {}: Contains information about the server. (OLD M:) */
|
||||
serverinfo {
|
||||
/* name: the name of our server */
|
||||
name = "<%= servername %>";
|
||||
name = "<%= @servername %>";
|
||||
|
||||
/* sid: the unique server id of our server. This must be three
|
||||
* characters long. The first character must be a digit [0-9], the
|
||||
|
@ -41,13 +41,13 @@ serverinfo {
|
|||
/* description: the description of our server. '[' and ']' may not
|
||||
* be used here for compatibility with older servers.
|
||||
*/
|
||||
description = "<%= serverdesc %>";
|
||||
description = "<%= @serverdesc %>";
|
||||
|
||||
/* network info: the name and description of the network this server
|
||||
* is on. Shown in the 005 reply and used with serverhiding.
|
||||
*/
|
||||
network_name = "<%= name %>";
|
||||
network_desc = "<%= desc %>";
|
||||
network_name = "<%= @name %>";
|
||||
network_desc = "<%= @desc %>";
|
||||
|
||||
/* hub: allow this server to act as a hub and have multiple servers
|
||||
* connected to it.
|
||||
|
@ -218,18 +218,18 @@ class "server" {
|
|||
/* listen {}: contain information about the ports ircd listens on (OLD P:) */
|
||||
listen {
|
||||
host = "127.0.0.1";
|
||||
port = <%= port %>;
|
||||
port = <%= @port %>;
|
||||
};
|
||||
listen {
|
||||
sslport = <%= sslport %>;
|
||||
sslport = <%= @sslport %>;
|
||||
};
|
||||
|
||||
/* auth {}: allow users to connect to the ircd (OLD I:) */
|
||||
auth {
|
||||
user = "*@*";
|
||||
class = "users";
|
||||
<% if userpass != "" -%>
|
||||
password = "<%= userpass %>";
|
||||
<% if @userpass != "" -%>
|
||||
password = "<%= @userpass %>";
|
||||
flags = encrypted;
|
||||
<% end -%>
|
||||
};
|
||||
|
@ -245,7 +245,7 @@ operator "root" {
|
|||
* supported now.
|
||||
* multiple user="" lines are supported.
|
||||
*/
|
||||
<% operator.each do |user| -%>
|
||||
<% @operator.each do |user| -%>
|
||||
user = "<%= user %>";
|
||||
<% end -%>
|
||||
|
||||
|
@ -253,7 +253,7 @@ operator "root" {
|
|||
* contained in flags = ...; this will need to be encrypted using
|
||||
* ratbox-mkpasswd, MD5 is supported
|
||||
*/
|
||||
password = "<%= operpass %>";
|
||||
password = "<%= @operpass %>";
|
||||
|
||||
/* rsa key: the public key for this oper when using Challenge.
|
||||
* A password should not be defined when this is used, see
|
||||
|
@ -641,7 +641,7 @@ general {
|
|||
connect_timeout = 30 seconds;
|
||||
|
||||
/* disable auth: disables identd checking */
|
||||
disable_auth = <%= disable_identd %>;
|
||||
disable_auth = <%= @disable_identd %>;
|
||||
|
||||
/* no oper flood: increase flood limits for opers. */
|
||||
no_oper_flood = yes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue