From 070c8143870ac2d7c727bb8934de5cb73fd9311a Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Sun, 18 Jun 2017 14:51:40 +0100 Subject: [PATCH] Bug fix - extra not --- src/kamokan_impl/storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kamokan_impl/storage.cpp b/src/kamokan_impl/storage.cpp index de0325a..1dfa16d 100644 --- a/src/kamokan_impl/storage.cpp +++ b/src/kamokan_impl/storage.cpp @@ -177,7 +177,7 @@ namespace kamokan { opt_string_list pastie_reply = m_redis->hmget(parToken, "pastie", "selfdes"); retval.pastie = (pastie_reply and not pastie_reply->empty() ? (*pastie_reply)[0] : opt_string()); - opt_string selfdes = (pastie_reply and not pastie_reply->size() > 1 ? (*pastie_reply)[1] : opt_string()); + opt_string selfdes = (pastie_reply and pastie_reply->size() > 1 ? (*pastie_reply)[1] : opt_string()); if (selfdes and string_conv(*selfdes)) { const bool deleted = m_redis->del(parToken);