These are old archives. They are kept for historic purposes only.
RowBot
Posts: 3 Joined: Wed Apr 28, 2004 10:31 am
Location: UK
Contact:
Post
by RowBot » Thu May 27, 2004 4:58 am
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
Thankz Ian Collins
w00t
Posts: 1136 Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia
Post
by w00t » Thu May 27, 2004 5:14 am
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*?
jewles
Posts: 263 Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA
Post
by jewles » Thu May 27, 2004 2:03 pm
Syzop
UnrealIRCd head coder
Posts: 2112 Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:
Post
by Syzop » Thu May 27, 2004 3:08 pm
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 » Thu May 27, 2004 11:47 pm
Syzop! you beat me
I thought of qlines when I went home
RowBot
Posts: 3 Joined: Wed Apr 28, 2004 10:31 am
Location: UK
Contact:
Post
by RowBot » Fri May 28, 2004 11:16 pm
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 » Sat May 29, 2004 1:12 am
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 » Sat May 29, 2004 12:40 pm
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 » Sat May 29, 2004 2:50 pm
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.