ToastyStoemp / Toasty.Chat

https://chat.toastystoemp.com
GNU General Public License v3.0
13 stars 15 forks source link

Allow ban through bouncer #45

Closed raf924 closed 8 years ago

raf924 commented 8 years ago

Set up "POLICE" in a separate file. It's loaded once, then the records are shared whatever module needs it. On the bouncer side, if at connection the frisk returns true, it does nothing (no relay, peanuts) and on message (if the user has been banned after joining), it doesn't process it. websockets are not closed so that the client doesn't try to reconnect.