about summary refs log tree commit diff stats
path: root/src/event/common.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-03-23 12:23:21 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-04-06 10:50:20 +0200
commit1155963c6c654ec79379921955b8be167c35c97f (patch)
treec9ab4914d2aa8f0573b904d61ff576a2b3def618 /src/event/common.c
parent11663625cc04cbe779e77509118872cacbd1b3e1 (diff)
downloadprofani-tty-1155963c6c654ec79379921955b8be167c35c97f.tar.gz
db: guard against no DB
Maybe if we only use `/connect` we dont have ProfAccount. In that case
we won't log anything. Only if a account is used we log.

If this is the case or the init of the db didn't work we still want
profanity to run but wont log anything to the db.
Diffstat (limited to 'src/event/common.c')
0 files changed, 0 insertions, 0 deletions