Config files
Config files

--- a/src/config.c
+++ b/src/config.c
@@ -50,7 +50,7 @@
 { /* {{{ */
 
 	int i;
-	char *tries[] = {srv->config_file, "./tnc.con", "/etc/tnc.conf", NULL};
+	char *tries[] = {srv->config_file, TNC_CONFIG_FILES};
 
 	for(i = 0; tries[i] != NULL || i == 0; i++) {
 		if(read_config_file(srv, tries[i]))

--- a/src/server.h
+++ b/src/server.h
@@ -44,6 +44,8 @@
 #define TNC_SERVER_NICK "Serv"
 #define TNC_SERVER_NICK_COLOR COLOR_GREEN
 
+#define TNC_CONFIG_FILES "./tnc.conf", "/etc/tnc.conf", NULL
+
 
 struct socket_config6
 {