Page 1 of 1

kline question

Posted: Thu Sep 09, 2004 9:28 pm
by EviL_SmUrF
Is it possible to kline a hostmask based on their nickname?

Because in the unrealircd.conf there is an example ban user { } in there that has the hostmask like this:

nickname!*@* reason: Bad nickname, please try another nickname.


However when i copied that and tried to use it for my own bans, it did not work.

How do you do this?

I don't want to use a qline, because that still allows the host to connect.

Posted: Fri Sep 10, 2004 2:11 am
by aquanight
This, unfortunately, isn't possible. K/G:lines are only based on the username or identd reply, and the hostname. You could configure services to issue a KILL for bad nicknames - I know for example IRCServices's SQLINE function can be configured to KILL violations instead of allowing the IRCd to handle it. (When this happens, IRCservices withholds the SQLINE command which is normally simply forwarded to the server(s). Instead it waits until it sees the user connect, and KILLs it.)

Posted: Fri Sep 10, 2004 7:09 pm
by Jason
Look into the BAN NICK block

Posted: Fri Sep 10, 2004 8:55 pm
by AngryWolf
Jason, for what reason did you come up with the ban nick block? There's no mention in the documentation that you can kline users having a specified nickname with such a block.