diff options
Diffstat (limited to 'src/operator-lsub.cc')
-rw-r--r-- | src/operator-lsub.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/operator-lsub.cc b/src/operator-lsub.cc index 35c4d7d..7648586 100644 --- a/src/operator-lsub.cc +++ b/src/operator-lsub.cc @@ -57,7 +57,8 @@ Operator::ProcessResult LsubOperator::process(Depot &depot, Request &command) string regex = toRegex(wildcard, depot.getDelimiter()); string wildcardLower = regex; lowercase(wildcardLower); - if (wildcardLower.substr(0, 6) == "^inbox") regex = "^[iI][nN][bB][oO][xX]" + regex.substr(6); + if (wildcardLower.substr(0, 6) == "^inbox") + regex = "^[iI][nN][bB][oO][xX]" + regex.substr(6); // remove leading or trailing delimiter in reference string ref = command.getMailbox(); |