Page 1 of 1
Problem with a block
Posted: Mon Nov 14, 2005 4:32 am
by ratman
This error:
irc2.bondage-radio.com- *** Notice -- error: unrealircd.conf: Unexpected EOF for section starting on line 550
Is the result from this block of code:
Code: Select all
ban nick {
mask "*C*h*a*n*S*e*r*v*";
reason "Reserved for Services";
mask "*S*e*r*v*e*r*";
reason "Problem user";
mask "*s*e*r*v*e*r*";
reason "Problem user";
mask "*S*E*R*V*E*R*";
reason "Problem user";
:)
I need to ban the nicks server, Server, and SERVER from my server. What's the best way to go about doing it?
Posted: Mon Nov 14, 2005 4:41 am
by w00t
Use a seperate ban nick { } for each nickname and reason
Posted: Mon Nov 14, 2005 4:45 am
by ratman
w00t wrote:Use a seperate ban nick { } for each nickname and reason
Did that, and got another error. Will post that when I get it
Posted: Mon Nov 14, 2005 5:04 am
by Stealth
The last line says:
It is supposed to be
Posted: Mon Nov 14, 2005 5:40 pm
by ratman
Ok, I got all the errors fixed and it rehashes cleanly. However I can still use the nicks that I want banned (server,Server, and SERVER). What gives? Here is the code block:
Code: Select all
ban nick {
mask "*S*e*r*v*e*r*";
reason "Problem user";
};
ban nick {
mask "*s*e*r*v*e*r*";
reason "Problem user";
};
ban nick {
mask "*S*E*R*V*E*R*";
reason "Problem user";
};
Posted: Mon Nov 14, 2005 6:00 pm
by Dukat
Did you try it as a normal user or as an oper? Opers can user blocked nicks - you have to de-oper yourself first to test it.
Posted: Mon Nov 14, 2005 9:46 pm
by Jason
Arent ban nick blocks case insensitive?
Posted: Mon Nov 14, 2005 10:24 pm
by ratman
Dukat wrote:Did you try it as a normal user or as an oper? Opers can user blocked nicks - you have to de-oper yourself first to test it.
I did so and it works great

Thanks alot. Only wish I could throw a kill action in there too

Posted: Mon Nov 14, 2005 10:25 pm
by ratman
Jason wrote:Arent ban nick blocks case insensitive?
Not certain on that one.
Posted: Mon Nov 14, 2005 10:34 pm
by aquanight
ratman wrote:Jason wrote:Arent ban nick blocks case insensitive?
Not certain on that one.
ban nick {} blocks are case insensitive, as are sqlines, and the nick part of +b :P .
Posted: Mon Nov 14, 2005 10:47 pm
by ratman
aquanight wrote:ratman wrote:Jason wrote:Arent ban nick blocks case insensitive?
Not certain on that one.
ban nick {} blocks are case insensitive, as are sqlines, and the nick part of +b

.
Cool, that saves me a few lines of code space
