From: Manuel Nickschas Date: Sun, 29 Jan 2012 23:18:45 +0000 (+0100) Subject: Don't ask for the syslog option if we don't have syslog support compiled in X-Git-Tag: 0.8-beta1~31 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=a7aea346f0ff3b0fb2519e8b7be5c94707653f97;hp=d1f952e426cc27afce593f055b0d8b292984aeda Don't ask for the syslog option if we don't have syslog support compiled in --- diff --git a/src/common/quassel.cpp b/src/common/quassel.cpp index f84001f5..c1e2c176 100644 --- a/src/common/quassel.cpp +++ b/src/common/quassel.cpp @@ -137,8 +137,9 @@ bool Quassel::init() { _logFile = 0; } } - +#ifdef HAVE_SYSLOG _logToSyslog = isOptionSet("syslog"); +#endif } return true;