ircnet / ircd

17 stars 6 forks source link

&LOCAL: Show X-Line and further refactoring #50

Closed patrick-irc closed 1 week ago

patrick-irc commented 1 week ago

Show on &LOCAL if a connection was refused by X-line.

00:45 !irc.localhost X-lined nick[ident@127.0.0.1].

And refactor/unify further notices so that they always show the hostmask nick[ident@ip] (some showed ident@host).

00:46 !irc.localhost Invalid username $$ from nick[ident@127.0.0.1].
00:46 !irc.localhost K-lined nick[ident@127.0.0.1].

This way we can automatically firewall IP addresses of bots flooding the ircd.

Note: &LOCAL is oper-only #6