Ban Nick Problem

These are old archives. They are kept for historic purposes only.
Post Reply
Stormdancing
Posts: 14
Joined: Mon Sep 27, 2004 3:29 pm

Ban Nick Problem

Post 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
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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";
};
Stormdancing
Posts: 14
Joined: Mon Sep 27, 2004 3:29 pm

Post 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.
Post Reply