summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/caps-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caps-cache.c b/src/caps-cache.c
index d6dc6ec5a..bf2847fa4 100644
--- a/src/caps-cache.c
+++ b/src/caps-cache.c
@@ -275,8 +275,8 @@ nuke_it_and_try_again (GabbleCapsCache *self)
if (ret != 0)
DEBUG ("removing database failed: %s", g_strerror (errno));
- else if (caps_cache_open (self))
- g_assert (self->priv->db != NULL);
+ else
+ caps_cache_open (self);
}
static void