X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=doc%2Fprotocole3.txt;h=f7fd6a5837f2806e71b55ef49c4d33068cd4ba40;hb=cd30bb86848bd5b52c46b8a0ff40cea6398de60e;hp=2646a4bf010720b0e23204624e3c7119f080ee35;hpb=8bec0dac79e750d0040de8a009c6ae864479642e;p=euphorik.git 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.