Page 1 of 1

Ban Nick Problem

Posted: Sat May 07, 2005 5:43 pm
by Stormdancing
I"m having a small problem here - Sorry for the bad words I'm going to post.

FROM my unrealircd.conf

ban nick {
mask "Jesus";"Satan";"Cyclone";"*Serv*";"*Admin*";"*SysOp*";"*IRC*op*";"*Oper*";"*Status*";"*cunt*";"God";"*fuck*";"$
reason "Nickname not allowed on this network. Choose Another Nickname";
};

Upon starting I get
[error] unrealircd.conf:245: ban::Satan specified without a value

for each name
What value? I see nothing about values in docs under
4.13 - Ban Nick Block

Posted: Sat May 07, 2005 5:56 pm
by Stealth
Funny... I don't see anything about specifying multiple masks...

You need to make a block for each mask you wish to deny, such as:

Code: Select all

ban nick {
  mask nick1;
  reason "Dunno";
};
ban nick {
  mask nick2;
  reason "Dunno";
};

Posted: Sat May 07, 2005 7:24 pm
by Stormdancing
Thanks Stealth!
In my old conf I had all the names listed and then one reason.
Seems I can't do that anymore and all is working correctly with your help.