From 7e3592e96b27ec8375e4b28354bcf9ed4cf5943b Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 5 Jul 2006 20:34:31 +0200 Subject: 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. --- storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage.c') 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); -- cgit v1.2.3