1
0
forked from bip/bip

Don't fail if ressetting non existing store.

This commit is contained in:
Arnaud Cornet 2009-06-07 13:22:20 +02:00
parent 94b5ac4797
commit 8cea2bdb71

View File

@ -706,11 +706,12 @@ void log_reset_store(log_t *log, const char *storename)
logstore_t *store;
store = hash_get(&log->logfgs, storename);
if (store)
if (store) {
log_reset(store);
if (!ischannel(*storename))
log_drop(log, storename);
}
}
void log_client_none_connected(log_t *logdata)
{