X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=plugins%2Fmanagesieve%2Fmanagesieve.php;h=d8b6084e45bccb517848327e6864fd5bf6f21eb0;hb=07e1de2dcd3f3ff8910a3680493f035b3c693cf0;hp=535f3826502160dd8ae91120fad694ed4068fee4;hpb=4212156c5c79d2f58342feb0d3ed1893f177bcab;p=roundcube.git diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php index 535f382..d8b6084 100644 --- a/plugins/managesieve/managesieve.php +++ b/plugins/managesieve/managesieve.php @@ -7,12 +7,12 @@ * It's clickable interface which operates on text scripts and communicates * with server using managesieve protocol. Adds Filters tab in Settings. * - * @version 2.10 + * @version 3.0 * @author Aleksander 'A.L.E.C' Machniak * * Configuration (see config.inc.php.dist) * - * $Id: managesieve.php 4241 2010-11-20 17:59:50Z alec $ + * $Id: managesieve.php 4555 2011-02-16 10:48:11Z alec $ */ class managesieve extends rcube_plugin @@ -66,7 +66,7 @@ class managesieve extends rcube_plugin $host = rcube_parse_host($this->rc->config->get('managesieve_host', 'localhost')); $port = $this->rc->config->get('managesieve_port', 2000); - $host = idn_to_ascii($host); + $host = rcube_idn_to_ascii($host); // try to connect to managesieve server and to fetch the script $this->sieve = new rcube_sieve($_SESSION['username'],