aboutsummaryrefslogtreecommitdiffstats
path: root/mail/websieve/files/patch-websieve.pl
blob: 4a8b3babc3c7c2d04ba5e9582677f178d4156dae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- websieve.pl.orig    Tue Jul  6 21:20:09 2004
+++ websieve.pl Sat Sep 29 16:02:22 2007
@@ -640,7 +640,7 @@
 #creates global variables $mode,@rules,@mailboxes,@quota and %vacation;
 # get quota
    @quota=&getquota("INBOX") if ($havequota || !$useprocmail);
-   if ($IMAPERROR =~ /no errors/i && !$ismanager && $IMAPERROR) {
+   if ($IMAPERROR !~ /no errors/i && !$ismanager && $IMAPERROR) {
        $error=$IMAPERROR;
        &closeimap;
        &closesieve;