Page 1 of 1

Admin ban (ban nick exceptions)

Posted: Thu May 27, 2004 4:58 am
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

Posted: Thu May 27, 2004 5:14 am
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*?

Posted: Thu May 27, 2004 2:03 pm
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

Posted: Thu May 27, 2004 3:08 pm
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').

Posted: Thu May 27, 2004 11:47 pm
by w00t
Syzop! you beat me :P

I thought of qlines when I went home :(

Posted: Fri May 28, 2004 11:16 pm
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";
};

Posted: Sat May 29, 2004 1:12 am
by codemastr
First, I assume you rehashed?

Second, can you show us your user@host, i.e. are you sure it matches?

Posted: Sat May 29, 2004 12:40 pm
by RowBot
yes i did rehash many times and here it is:
[email protected]

Posted: Sat May 29, 2004 2:50 pm
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.