Problem with a block

These are old archives. They are kept for historic purposes only.
Post Reply
ratman
Posts: 47
Joined: Mon Apr 19, 2004 2:46 pm

Problem with a block

Post 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?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Use a seperate ban nick { } for each nickname and reason
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
ratman
Posts: 47
Joined: Mon Apr 19, 2004 2:46 pm

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

Post by Stealth »

The last line says:

Code: Select all

:) 
It is supposed to be

Code: Select all

};
ratman
Posts: 47
Joined: Mon Apr 19, 2004 2:46 pm

Post 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";
};
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

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

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 »

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 »

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 »

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 »

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 :P .
Cool, that saves me a few lines of code space :)
Post Reply