mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	Log "Can't read MOTD file" as "configuration error"
Now this error message is displayed in the console without debug prefix when running the configuration test (--configtest).
This commit is contained in:
		| @@ -668,7 +668,7 @@ Read_Motd(const char *filename) | ||||
|  | ||||
| 	fp = fopen(filename, "r"); | ||||
| 	if (!fp) { | ||||
| 		Log(LOG_WARNING, "Can't read MOTD file \"%s\": %s", | ||||
| 		Config_Error(LOG_WARNING, "Can't read MOTD file \"%s\": %s", | ||||
| 					filename, strerror(errno)); | ||||
| 		return; | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton