ajouter commande pour: changer un flag de hub

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

creer les public chats.

verifier si les MyINFO sont caches pour limiter la BP.

terminer le cnx_if_detect.c


----
ides:

un -kick nick ou ip, et automatiquement, il banni temporairement le nick et l'ip
et quand tu fait -unban nick ou -unban ip, il unban l'autre

en bot:
Displaying the connected Ops in a private message on Connection.

Available option for the master (M) such as -mmr "that many repetitions" time (mins) between each repetition "message"

[ 19:06:16 ]<[AtD]_SerWou> - An automatic save (config file) of the Dc Hub directory on an ftp server every week. On Friday morning, for instance. 
du type -savebackup ftp://nick:passs@adresseftp/dir/dir

[ 19:06:24 ]<[AtD]_SerWou> - A script that checks if the user who is regitered, put a tag in his description : for example, the user is an "Op", it put [OP], if he's a normal user, it put [SU], etc... 
----


You're disconnected from the AntiDot hub because you share 800Mo and the min share is 1.5 Go (emplacement d'un variable par exemple qui correspondrait a la variable ou est stock le min share du hub)



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).

and a lot of other things.

