Admin ban (ban nick exceptions)

These are old archives. They are kept for historic purposes only.
Post Reply
RowBot
Posts: 3
Joined: Wed Apr 28, 2004 10:31 am
Location: UK
Contact:

Admin ban (ban nick exceptions)

Post by RowBot »

Hey there,
I am using the following code to ban people using the nick Admin

Code: Select all

ban nick {
	mask "Admin_*";
	reason "Reserved for Admins";
};
Is their a way to make it allow just 1 admin nick so it lets me on? I have tried the following but dont think it works

Code: Select all

except ban {
	mask [email protected];
};
Thankz Ian Collins
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

I wouldnt be too sure about this, but would a passworded allow line work?
meh, not sure.

Just out of curiosity, why Admin_* and not Admin*?
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

Well W00t it's "Admin_*" because he wants to block anyone using Admin_. for example me wanting to use Admin_1 :( I wouldn't be able to, damnit. oh but wait, shit AHHHHHHHHHH. I'd deal with not being able to use Admin_1 and just fucking use Admin! pfft... smart people, gotta love them.
:evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: <== my army is back
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

RowBot: well, you were close ;p. It's:

Code: Select all

except tkl {
    mask "ident@host";
    type qline;
};
(or if you use services for banning nicks then type 'gqline').
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Syzop! you beat me :P

I thought of qlines when I went home :(
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
RowBot
Posts: 3
Joined: Wed Apr 28, 2004 10:31 am
Location: UK
Contact:

Post by RowBot »

Ok tried that but i get:
Admin_RowBot Erroneous Nickname: Reserved for Admins
Here is the code im using in the config see ne errors?

Code: Select all

ban nick {
	mask "Admin_*";
	reason "Reserved for Admins";
};
except tkl {
	mask "admin@*.dsl.pol.co.uk";
	type "qline";
};
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

First, I assume you rehashed?

Second, can you show us your user@host, i.e. are you sure it matches?
-- codemastr
RowBot
Posts: 3
Joined: Wed Apr 28, 2004 10:31 am
Location: UK
Contact:

Post by RowBot »

yes i did rehash many times and here it is:
[email protected]
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Works fine here (ident@*.myisp)...

As with everything that doesn't seem to work, check if it appears in stats (/stats q), if not then you did something wrong in your conf.
Also, make sure your ident is really 'admin' and doesn't show up as '~admin' or something.
Post Reply