Various fixes for irc module

This commit is contained in:
Ossi Salmi 2012-11-19 12:08:50 +02:00
parent f19ae66ba5
commit 089082ef20
4 changed files with 85 additions and 18 deletions

View file

@ -178,7 +178,7 @@ class "users" {
number_per_cidr = 100;
/* max number: the maximum number of users allowed in this class */
max_number = 100;
max_number = 1000;
/* sendq: the amount of data allowed in a clients queue before
* they are dropped.
@ -230,6 +230,7 @@ auth {
class = "users";
<% if userpass != "" -%>
password = "<%= userpass %>";
flags = encrypted;
<% end -%>
};
@ -244,7 +245,9 @@ operator "root" {
* supported now.
* multiple user="" lines are supported.
*/
user = "*@127.0.0.1";
<% operator.each do |user| -%>
user = "<%= user %>";
<% end -%>
/* password: the password required to oper. Unless ~encrypted is
* contained in flags = ...; this will need to be encrypted using
@ -301,8 +304,7 @@ operator "root" {
*
*/
flags = global_kill, remote, kline, unkline, gline,
die, rehash, admin, xline, resv, operwall,
~encrypted;
die, rehash, admin, xline, resv, operwall;
};
/* If you are using the ratbox-services compatibility code, uncomment this. */
@ -639,7 +641,7 @@ general {
connect_timeout = 30 seconds;
/* disable auth: disables identd checking */
disable_auth = no;
disable_auth = <%= disable_identd %>;
/* no oper flood: increase flood limits for opers. */
no_oper_flood = yes;