The Manual wrote:set::restrict-channelmodes <modes>
Restrict users to set/unset the channelmodes listed here (don't use + or -).
For example you can set +G in modes-on-join and G in restrict-channelmodes, that way you can force all (new) channels to be +G and unable to do -G.
NOTE: it may still be possible to use these channelmodes trough services by using MLOCK. Unfortunately we can't do much about that, you would have to ask the services coders to implement a restrict-channelmodes feature too.
If you've included badwords.message.conf (or whatever it's called), you can force usermode +G as well (prevents badwords in privmsgs). You'd use the set::modes-on-join and set::restrict-usermodes in the same way as the other two directives that we just gave you. Read the documentation if you get stuck.
Mode +G gives you <censord> to any badwords you have in your badwords.conf.
Spamfilter kinda dos the same.
So i fact why having all this badwords in a seperate .conf file and why not put them in one file.
The spamfilter addon has the option to replace or not even show a word.
But the only good thing that comes to my mind about using the +G mode is.
That this can be undone (taken away) in channels or nicks.
This not beeing able with the spamfilter.
But if you are going to restrict the option -G (not beeing able to unset the mode +G).
My advice to you is use the spamfilter and dont force ppl to use the mode +G in there nick's and in there channel's.
Restricting mode's in your unrealircd.conf will affect any/all channels server wide.
Think carefull before restricting any mode's.
About the +G mode in nick's.
I have the mode +G given to users on connect.
Most ppl dont change there mode's after connection to the server.
1) they are laizy.
2) they dont know how.
In bouth cases you reached the options that you like to have.