Commit Diff
Diff:
ce3c4074ba08a6a851e45864d1f88ca4b8820a53
01c3552140f710fd1efc5b1037e99500c2a292d7
Commit:
01c3552140f710fd1efc5b1037e99500c2a292d7
Tree:
de561719fd70cc3192113199fe18acb887d2eeb7
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Tue Jul 29 21:08:18 2014 UTC
Message:
Initialize Conf_ScrubCTCP even when SYSLOG isn't #define'd The "SYSLOG" #define isn't related to "Conf_ScrubCTCP" at all, so initialize the latter even when "SYSLOG" isn't #define'd. Pointed out by wowaname on #ngircd, thanks!
blob - 2f234dad542ec7dc4aaf973fe7af068c3e72706d
blob + 6692ecbbdd8b5f8bb21f981fec5981acfb21e3a9
--- src/ngircd/conf.c
+++ src/ngircd/conf.c
@@ -806,8 +806,8 @@ Set_Defaults(bool InitServers)
Conf_PAM = false;
#endif
Conf_PAMIsOptional = false;
-#ifdef SYSLOG
Conf_ScrubCTCP = false;
+#ifdef SYSLOG
#ifdef LOG_LOCAL5
Conf_SyslogFacility = LOG_LOCAL5;
#else
IRCNow