From 01c3552140f710fd1efc5b1037e99500c2a292d7 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 29 Jul 2014 23:05:17 +0200 Subject: [PATCH] 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! --- src/ngircd/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index 2f234dad..6692ecbb 100644 --- a/src/ngircd/conf.c +++ b/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 -- 2.39.2