aboutsummaryrefslogtreecommitdiffstats
path: root/storage.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-07-05 20:34:31 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-07-05 20:34:31 +0200
commit7e3592e96b27ec8375e4b28354bcf9ed4cf5943b (patch)
treeaaab2237a1401375c5cd047382ca05119990c85a /storage.c
parent5b52a4895e5a59ff6509f7771f4d8665737688c3 (diff)
Fixed text_load(), added detection of primary storage backends without
save support (which shouldn't be allowed) and added a call to nick_lc() to xml_save() so at least nicks should now be case-insensitive.
Diffstat (limited to 'storage.c')
-rw-r--r--storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage.c b/storage.c
index 807d5bb4..06044f80 100644
--- a/storage.c
+++ b/storage.c
@@ -69,7 +69,7 @@ GList *storage_init(const char *primary, char **migrate)
register_storage_backend(&storage_xml);
storage = storage_init_single(primary);
- if (storage == NULL)
+ if (storage == NULL && storage->save == NULL)
return NULL;
ret = g_list_append(ret, storage);