[srvx-commits] CVS: services/src proto-p10.c,1.40,1.41
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2002-10-29 01:55:31
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv23089/src
Modified Files:
proto-p10.c
Log Message:
look up hidden_host_suffix (again) on rehash
Index: proto-p10.c
===================================================================
RCS file: /cvsroot/srvx/services/src/proto-p10.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** proto-p10.c 23 Oct 2002 12:37:54 -0000 1.40
--- proto-p10.c 29 Oct 2002 01:55:28 -0000 1.41
***************
*** 1331,1334 ****
--- 1331,1339 ----
}
+ static void
+ p10_conf_reload(void) {
+ hidden_host_suffix = conf_get_data("server/hidden_host", RECDB_QSTRING);
+ }
+
void
init_parse(void)
***************
*** 1365,1369 ****
}
self = AddServer(NULL, str, 0, boot_time, now, numer, desc);
! hidden_host_suffix = conf_get_data("server/hidden_host", RECDB_QSTRING);
irc_func_dict = dict_new();
--- 1370,1374 ----
}
self = AddServer(NULL, str, 0, boot_time, now, numer, desc);
! conf_register_reload(p10_conf_reload);
irc_func_dict = dict_new();
|