do_seen doit pouvoir s'ecrire autrement
afk et msg ne doivent pas utiliser send_to, elles doivent juste remplir la chaine

dans un multi_public_chat, l'emetteur d'un texte (non commande) ne doit pas
recevoir ce qu'il a emis













TODO:

TODO for dchub 0.2.X
* add a curtomizable log.
* create a fink package.
* finish the flood protection system
* add anti-kick protection and VIP type
* add a reload_script fuction.
* fix the cluster mode bugs.


TODO for dchub 0.3.X
* add a demon mode.
* add a defaut path for confifuration file (/etc/dchub.conf).
* change the configuration file format.
* add default logfile (/var/log/dchub/log_out.1 .2 .3 ....).
* remove the chat central by default.
* use a motd file to stor the WELCOME message.
* update the I/O proseesing.


TODO for dchub 0.4.X
* update data structure
* add an full autonome cluster mode.
* passe the search default min interval to 1 min.
* use SSL for reg only hubs.

last TODO update on 02 October 2002, By Uriel.

> 1. A way to set the welcome message to take it's input from a file so that
> u can have a larger message with more then one line of letters 

> 2. A way to
> start perl scripts with a commnad to Hub-security for example make it so
> that %nameofscript X Y Z... starts script nameofscript with X Y Z as
> parameters 

> 3. A new user typ (vip) that can be used in script's to let them
> for example get in with less then requierd share size like a OP, and with
> the ability to connect even if the hub is full (lika a op) but without
> access to OP commands!

Bug: lorsqu'une connection d'une utilisation que l'on kick se bloque, le thread de gestion
des users restent bloque le temps de flusher. Le probleme est lie a cnx_io_processing qui bloque.
Il faudrait voir a gerer le cas ou l'on veut tuer la connection.
C'est dans tous les cas un probleme recurrent qui peut se produire dans d'autres occasions.
(Gerer les donnees sortantes avec plusieurs threads ? creer un thread pour les connections en degagement ?)

Bug (eric) 12-12-2002: il semblerait que qq'un puisse kicker qq'un qui ait plus de privilege (comme un op qui kick un master).

Bug (eric) 25-01-2003: dans process_one_command, n'importe qui peut utiliser les
brd:, pas de test du hub_priv

Bug (eric) 25-01-2003: la fusion ne marche pas si le hub est registered user only

and a lot of other things.

