mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	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!
This commit is contained in:
		| @@ -806,8 +806,8 @@ Set_Defaults(bool InitServers) | |||||||
| 	Conf_PAM = false; | 	Conf_PAM = false; | ||||||
| #endif | #endif | ||||||
| 	Conf_PAMIsOptional = false; | 	Conf_PAMIsOptional = false; | ||||||
| #ifdef SYSLOG |  | ||||||
| 	Conf_ScrubCTCP = false; | 	Conf_ScrubCTCP = false; | ||||||
|  | #ifdef SYSLOG | ||||||
| #ifdef LOG_LOCAL5 | #ifdef LOG_LOCAL5 | ||||||
| 	Conf_SyslogFacility = LOG_LOCAL5; | 	Conf_SyslogFacility = LOG_LOCAL5; | ||||||
| #else | #else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton