Tip of the day: Still not using a real SSL/TLS certificate? Check out Using Let's Encrypt with UnrealIRCd. |
Server bans
IRCOps can kill and ban users from the server or network. This can be done online on IRC, or via the configuration file.
Online on IRC
How to kill and ban users is explained in the IRCOp guide: Killing and banning users from the server
Via the configuration file
It is also possible to do the same in the configuration file by using the Ban user block. However, most people will not use this. It is easier to add and remove bans on an IRC Network using the Online method from above.
Error message shown to users
When users are banned from a server they will be unable to connect and see something like:
You are not welcome on this network. G-Lined: stop harassing users. Email [email protected] for more information.
The error message contains the reason for the ban (in this case: stop herassing users). You supply the reason in your /GLINE or /KLINE command. The email address shown is the one you set in set::kline-address or set::gline-address.
If you really want to change the entire error message. For example, if you want to translate the phrase You are not welcome on this network from English to French, then see set::reject-message.