X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=doc%2Fprotocole3.txt;fp=doc%2Fprotocole3.txt;h=f7fd6a5837f2806e71b55ef49c4d33068cd4ba40;hp=2646a4bf010720b0e23204624e3c7119f080ee35;hb=28cbabecbfc2e05861779a19e5a75bddbc0ad416;hpb=934ab32cd6fac44f6b3ebedef69ce1ccd0b8701b diff --git a/doc/protocole3.txt b/doc/protocole3.txt index 2646a4b..f7fd6a5 100644 --- a/doc/protocole3.txt +++ b/doc/protocole3.txt @@ -324,7 +324,47 @@ c -> s s -> c ou - + + + +=== Liste des ip bannis === +c -> s + { + "action" : "list_banned_ips", + "cookie" : "LKJDLAKSJBFLKASN" + } + +s -> c + { + "reply" : "list_banned_ips", + "list" : [ + { + ip : "192.168.1.2", + remaining_time : "1h23" + users : [ + { + nick : "Pierre" , + login : "pierre" + } + ] + } + ] + } + + +=== Débannissement === +c -> s + { + "action" : "unban", + "cookie" : "LKJDLAKSJBFLKASN" + "ip" : "192.168.1.2" + } + +s -> c + +ou + + === Ajout d'une correction d'un messages === Le client envoie un correctif sous la forme de texte supplémentaire à appondre au dernier messages.