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.
kline question
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.)