X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=modules%2Ferl%2Feuphorik_requests.erl;h=79df04d53f910e99f1ac700a139433daffa2263a;hb=28cbabecbfc2e05861779a19e5a75bddbc0ad416;hp=edc0e174064650f12fd273ee99b0ccaceaf775ab;hpb=886e51257b3d610ee0e4f7576d720495914ae9ec;p=euphorik.git diff --git a/modules/erl/euphorik_requests.erl b/modules/erl/euphorik_requests.erl index edc0e17..79df04d 100755 --- a/modules/erl/euphorik_requests.erl +++ b/modules/erl/euphorik_requests.erl @@ -9,7 +9,6 @@ tester/0, out/1 ]). - -include_lib("xmerl/include/xmerl.hrl"). -include_lib("yaws/include/yaws_api.hrl"). @@ -65,5 +64,9 @@ traiter_action("put_troll", JSON, _) -> traiter_action("mod_troll", JSON, _) -> euphorik_protocole:mod_troll(JSON); traiter_action("del_troll", JSON, _) -> - euphorik_protocole:del_troll(JSON). + euphorik_protocole:del_troll(JSON); +traiter_action("list_banned_ips", JSON, _) -> + euphorik_protocole:list_banned_ips(JSON); +traiter_action("unban", JSON, _) -> + euphorik_protocole:unban_ip(JSON). \ No newline at end of file