These are old archives. They are kept for historic purposes only.
ratman
Posts: 47 Joined: Mon Apr 19, 2004 2:46 pm
Post
by ratman » Mon Nov 14, 2005 4:32 am
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?
w00t
Posts: 1136 Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia
Post
by w00t » Mon Nov 14, 2005 4:41 am
Use a seperate ban nick { } for each nickname and reason
ratman
Posts: 47 Joined: Mon Apr 19, 2004 2:46 pm
Post
by ratman » Mon Nov 14, 2005 4:45 am
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
Stealth
Head of Support
Posts: 2085 Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:
Post
by Stealth » Mon Nov 14, 2005 5:04 am
The last line says:
It is supposed to be
ratman
Posts: 47 Joined: Mon Apr 19, 2004 2:46 pm
Post
by ratman » Mon Nov 14, 2005 5:40 pm
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";
};
Dukat
Posts: 1083 Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland
Post
by Dukat » Mon Nov 14, 2005 6:00 pm
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.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Jason
Posts: 570 Joined: Mon Jun 14, 2004 5:09 pm
Post
by Jason » Mon Nov 14, 2005 9:46 pm
Arent ban nick blocks case insensitive?
Why the hell can't my signature be empty?
"Your message contains too few characters."
ratman
Posts: 47 Joined: Mon Apr 19, 2004 2:46 pm
Post
by ratman » Mon Nov 14, 2005 10:24 pm
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
ratman
Posts: 47 Joined: Mon Apr 19, 2004 2:46 pm
Post
by ratman » Mon Nov 14, 2005 10:25 pm
Jason wrote: Arent ban nick blocks case insensitive?
Not certain on that one.
aquanight
Official supporter
Posts: 862 Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID
Post
by aquanight » Mon Nov 14, 2005 10:34 pm
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 .
ratman
Posts: 47 Joined: Mon Apr 19, 2004 2:46 pm
Post
by ratman » Mon Nov 14, 2005 10:47 pm
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