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

@ -154,7 +154,9 @@ operator "root" {
/* user: specifies a user@host who may connect.
* multiple may be specified, wildcards are accepted.
*/
user = "*@127.0.0.1";
<% operator.each do |user| -%>
user = "<%= user %>";
<% end -%>
/* you may also restrict the oper to a specific server, they will
* then only be able to connect when using that server.
@ -167,7 +169,7 @@ operator "root" {
/* encrypted: specifies whether the above password has been
* encrypted or not. default: yes
*/
encrypted = no;
encrypted = yes;
/* flags: specifies what general privs an oper has
* admin - services admin, .die etc
@ -485,7 +487,7 @@ service "nickserv" {
realname = "nickname services";
/* disabled by default */
flags = opered, msg_self, disabled;
flags = opered, msg_self;
/* loglevel: level to log at, 0 to disable logging
* 1 - Admin commands